|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hivemind.service.impl.ThreadEventNotifierImpl
public class ThreadEventNotifierImpl
Implementation of ThreadEventNotifier
, available as service
hivemind.ThreadEventNotifier
.
Constructor Summary | |
---|---|
ThreadEventNotifierImpl()
|
|
ThreadEventNotifierImpl(org.apache.commons.logging.Log log)
|
Method Summary | |
---|---|
void |
addThreadCleanupListener(ThreadCleanupListener listener)
Adds the listener. |
void |
fireThreadCleanup()
Invokes ThreadCleanupListener.threadDidCleanup() on all listeners, and discards the
list of listeners. |
void |
removeThreadCleanupListener(ThreadCleanupListener listener)
Removes the listener, if it has been previously added. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThreadEventNotifierImpl()
public ThreadEventNotifierImpl(org.apache.commons.logging.Log log)
Method Detail |
---|
public void addThreadCleanupListener(ThreadCleanupListener listener)
ThreadEventNotifier
ThreadEventNotifier.fireThreadCleanup()
is
invoked, at which point is discarded.
addThreadCleanupListener
in interface ThreadEventNotifier
public void removeThreadCleanupListener(ThreadCleanupListener listener)
ThreadEventNotifier
ThreadEventNotifier.fireThreadCleanup()
.
removeThreadCleanupListener
in interface ThreadEventNotifier
public void fireThreadCleanup()
ThreadEventNotifier
ThreadCleanupListener.threadDidCleanup()
on all listeners, and discards the
list of listeners.
fireThreadCleanup
in interface ThreadEventNotifier
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |