org.jppf.server
Class DriverInitializer

java.lang.Object
  extended by org.jppf.server.DriverInitializer

public class DriverInitializer
extends Object

Handles various initializations for the driver.

Author:
Laurent Cohen

Constructor Summary
DriverInitializer(JPPFDriver driver)
          Instantiate this initializer with the specified driver.
 
Method Summary
 JPPFConnectionInformation getConnectionInformation()
          Read configuration for the host name and ports used to conenct to this driver.
 JMXServerImpl getJmxServer()
          Get the jmx server used to manage and monitor this driver.
 PeerDiscoveryThread getPeerDiscoveryThread()
          Get the thread that performs the peer servers discovery.
 RecoveryServer getRecoveryServer()
          The server used to detect that individual connections are broken due to hardware failures.
 ServerDebug getServerDebug()
          Get the object that collects debug information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DriverInitializer

public DriverInitializer(JPPFDriver driver)
Instantiate this initializer with the specified driver.

Parameters:
driver - the driver to initialize.
Method Detail

getConnectionInformation

public JPPFConnectionInformation getConnectionInformation()
Read configuration for the host name and ports used to conenct to this driver.

Returns:
a DriverConnectionInformation instance.

getPeerDiscoveryThread

public PeerDiscoveryThread getPeerDiscoveryThread()
Get the thread that performs the peer servers discovery.

Returns:
a PeerDiscoveryThread instance.

getJmxServer

public JMXServerImpl getJmxServer()
Get the jmx server used to manage and monitor this driver.

Returns:
a JMXServerImpl instance.

getRecoveryServer

public RecoveryServer getRecoveryServer()
The server used to detect that individual connections are broken due to hardware failures.

Returns:
a RecoveryServer instance.

getServerDebug

public ServerDebug getServerDebug()
Get the object that collects debug information.

Returns:
a ServerDebug instance.


Copyright © 2005-2010 JPPF Team.