Package org.jppf.node.event
Class NodeIntegrationAdapter<C>
java.lang.Object
org.jppf.node.event.NodeLifeCycleListenerAdapter
org.jppf.node.event.NodeIntegrationAdapter<C>
- Type Parameters:
C- the type of UI component to dispatch events to.
- All Implemented Interfaces:
EventListener,NodeIntegration<C>,NodeLifeCycleListener,org.jppf.node.event.TaskExecutionListener
- Direct Known Subclasses:
NodeIntegrationAdapter
public abstract class NodeIntegrationAdapter<C>
extends NodeLifeCycleListenerAdapter
implements NodeIntegration<C>
An abstract adapter class for receiving node events. The methods in this class are empty.
This class exists as convenience, to be overriden for creating listener objects, instead of
implementing the
NodeLifeCycleListener and TaskExecutionListener interfaces.- Since:
- 5.1
- Author:
- Laurent Cohen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUiComponent(C uiComponent) Provide a reference to the UI component which uses the event notifications.voidtaskExecuted(org.jppf.node.event.TaskExecutionEvent event) voidtaskNotification(org.jppf.node.event.TaskExecutionEvent event) Methods inherited from class org.jppf.node.event.NodeLifeCycleListenerAdapter
beforeNextJob, jobEnding, jobHeaderLoaded, jobStarting, nodeEnding, nodeStartingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jppf.node.event.NodeLifeCycleListener
beforeNextJob, jobEnding, jobHeaderLoaded, jobStarting, nodeEnding, nodeStarting
-
Constructor Details
-
NodeIntegrationAdapter
public NodeIntegrationAdapter()
-
-
Method Details
-
taskExecuted
public void taskExecuted(org.jppf.node.event.TaskExecutionEvent event) - Specified by:
taskExecutedin interfaceorg.jppf.node.event.TaskExecutionListener
-
taskNotification
public void taskNotification(org.jppf.node.event.TaskExecutionEvent event) - Specified by:
taskNotificationin interfaceorg.jppf.node.event.TaskExecutionListener
-
setUiComponent
Description copied from interface:NodeIntegrationProvide a reference to the UI component which uses the event notifications.- Specified by:
setUiComponentin interfaceNodeIntegration<C>- Parameters:
uiComponent- the uiComponent to which events are dispatched.
-