org.jppf.node.event
Interface NodeLifeCycleListener

All Superinterfaces:
EventListener

public interface NodeLifeCycleListener
extends EventListener

Interface for all listeners to the node's life cycle events.

Author:
Laurent Cohen

Method Summary
 void jobEnding(NodeLifeCycleEvent event)
          Called after the node finishes processing a job.
 void jobStarting(NodeLifeCycleEvent event)
          Called before the node starts processing a job.
 void nodeEnding(NodeLifeCycleEvent event)
          Called when the node is terminating.
 void nodeStarting(NodeLifeCycleEvent event)
          Called when the node has finished initializing, and before it starts processing jobs.
 

Method Detail

nodeStarting

void nodeStarting(NodeLifeCycleEvent event)
Called when the node has finished initializing, and before it starts processing jobs.

Parameters:
event - encapsulates inforation about the node.

nodeEnding

void nodeEnding(NodeLifeCycleEvent event)
Called when the node is terminating.

Parameters:
event - encapsulates inforation about the node.

jobStarting

void jobStarting(NodeLifeCycleEvent event)
Called before the node starts processing a job.

Parameters:
event - encapsulates information about the job.

jobEnding

void jobEnding(NodeLifeCycleEvent event)
Called after the node finishes processing a job.

Parameters:
event - encapsulates information about the job.


Copyright © 2005-2010 JPPF Team.