| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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)
ThreadEventNotifierThreadEventNotifier.fireThreadCleanup() is
 invoked, at which point is discarded.
addThreadCleanupListener in interface ThreadEventNotifierpublic void removeThreadCleanupListener(ThreadCleanupListener listener)
ThreadEventNotifierThreadEventNotifier.fireThreadCleanup().
removeThreadCleanupListener in interface ThreadEventNotifierpublic void fireThreadCleanup()
ThreadEventNotifierThreadCleanupListener.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 | |||||||||