|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.events.AbstractEventListener
org.jasig.portal.events.ThreadedEventListener
PortalEventListener and PortalEventMulticaster
@Deprecated public final class ThreadedEventListener
Implementation of EventListener that assumes that
EventHandlers will be doing something I/O Intensive that they may
block users from seeing a "snappy" response, and thus call the EventHandlers in their own thread.
This uses The Backport Concurrent Library to provide threading and has the following defaults:
| Constructor Summary | |
|---|---|
ThreadedEventListener()
Deprecated. |
|
| Method Summary | |
|---|---|
protected void |
afterPropertiesSetInternal()
Deprecated. |
protected void |
onApplicationEventInternal(PortalEvent event,
EventHandler handler)
Deprecated. |
void |
setInitialThreads(int initialThreads)
Deprecated. |
void |
setMaxThreads(int maxThreads)
Deprecated. |
void |
setThreadPriority(int threadPriority)
Deprecated. |
| Methods inherited from class org.jasig.portal.events.AbstractEventListener |
|---|
afterPropertiesSet, onApplicationEvent, setEventHandlers |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThreadedEventListener()
| Method Detail |
|---|
protected void afterPropertiesSetInternal()
throws Exception
afterPropertiesSetInternal in class AbstractEventListenerException
protected void onApplicationEventInternal(PortalEvent event,
EventHandler handler)
onApplicationEventInternal in class AbstractEventListenerpublic void setInitialThreads(int initialThreads)
public void setMaxThreads(int maxThreads)
public void setThreadPriority(int threadPriority)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||