org.jppf.server.node.local
Class JPPFLocalNode

java.lang.Object
  extended by org.jppf.utils.ThreadSynchronization
      extended by org.jppf.node.AbstractMonitoredNode
          extended by org.jppf.server.node.JPPFNode
              extended by org.jppf.server.node.local.JPPFLocalNode
All Implemented Interfaces:
Runnable, MonitoredNode

public class JPPFLocalNode
extends JPPFNode

Local (in-VM) node implementation.

Author:
Laurent Cohen

Field Summary
 
Fields inherited from class org.jppf.server.node.JPPFNode
classLoaderManager, executionManager, nodeIO
 
Fields inherited from class org.jppf.node.AbstractMonitoredNode
executingCount, helper, listeners, notifying, serializer, socketClient, socketInitializer, uuid
 
Fields inherited from class org.jppf.utils.ThreadSynchronization
stopped
 
Constructor Summary
JPPFLocalNode(LocalNodeChannel channel, LocalClassLoaderChannel classLoaderHandler)
          Initialize this local node with the specfied I/O handler.
 
Method Summary
protected  void closeDataChannel()
          Initialize this node's data channel.
protected  void initDataChannel()
          Initialize this node's data channel.
 
Methods inherited from class org.jppf.server.node.JPPFNode
getClassLoader, getContainer, getExecutionManager, getJmxServer, getLifeCycleEventHandler, getNodeAdmin, initHelper, perform, run, setClassLoader, setExitAction, setNodeAdmin, shutdown, stopNode
 
Methods inherited from class org.jppf.node.AbstractMonitoredNode
addNodeListener, decrementExecutingCount, fireNodeEvent, fireNodeEvent, getHelper, getSocketWrapper, getTaskCount, incrementExecutingCount, isNotifying, removeNodeListener, setSocketWrapper, setTaskCount
 
Methods inherited from class org.jppf.utils.ThreadSynchronization
goToSleep, goToSleep, goToSleep, isStopped, setStopped, wakeUp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPPFLocalNode

public JPPFLocalNode(LocalNodeChannel channel,
                     LocalClassLoaderChannel classLoaderHandler)
Initialize this local node with the specfied I/O handler.

Parameters:
channel - the I/O handler for this node.
classLoaderHandler - the I/O handler for the class loader.
Method Detail

initDataChannel

protected void initDataChannel()
                        throws Exception
Initialize this node's data channel.

Specified by:
initDataChannel in class JPPFNode
Throws:
Exception - if an error is raised during initialization.

closeDataChannel

protected void closeDataChannel()
                         throws Exception
Initialize this node's data channel.

Specified by:
closeDataChannel in class JPPFNode
Throws:
Exception - if an error is raised during initialization.


Copyright © 2005-2010 JPPF Team.