|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jppf.server.node.LifeCycleEventHandler
public class LifeCycleEventHandler
This class handles the firing of node life cycle events and the listeners that subscribe to these events.
| Constructor Summary | |
|---|---|
LifeCycleEventHandler(NodeExecutionManager executionManager)
Initialize this event handler witht he specified execution manager. |
|
| Method Summary | |
|---|---|
void |
addNodeLifeCycleListener(NodeLifeCycleListener listener)
Add a listener to the list of listeners. |
void |
loadListeners()
Load all listener instances found in the class path via a service definition. |
void |
removeNodeLifeCycleListener(NodeLifeCycleListener listener)
Remove a listener from the list of listeners. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LifeCycleEventHandler(NodeExecutionManager executionManager)
executionManager - the object that manages the job executions for the node.| Method Detail |
|---|
public void addNodeLifeCycleListener(NodeLifeCycleListener listener)
listener - the listener to add.public void removeNodeLifeCycleListener(NodeLifeCycleListener listener)
listener - the listener to remove.public void loadListeners()
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||