org.opends.server.protocols.jmx
Class RmiConnector

java.lang.Object
  extended by org.opends.server.protocols.jmx.RmiConnector

public class RmiConnector
extends java.lang.Object

The RMI connector class starts and stops the JMX RMI connector server. There are 2 different connector servers

Each connector is registered into the JMX MBean server.


Field Summary
protected  javax.management.remote.JMXConnectorServer jmxRmiConnectorNoClientCertificate
          The reference to the JMX connector client with no SSL client authentication.
 
Constructor Summary
RmiConnector(javax.management.MBeanServer mbs, JmxConnectionHandler jmxConnectionHandler)
          Create a new instance of RmiConnector .
 
Method Summary
 void finalizeConnectionHandler(boolean closeConnections, boolean stopRegistry)
          Closes this connection handler so that it will no longer accept new client connections.
 java.lang.String getProtocolVersion()
          Retrieves the RMI protocol version string in use for this connector.
 void initialize()
          Activates the RMI Connectors.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jmxRmiConnectorNoClientCertificate

protected javax.management.remote.JMXConnectorServer jmxRmiConnectorNoClientCertificate
The reference to the JMX connector client with no SSL client authentication.

Constructor Detail

RmiConnector

public RmiConnector(javax.management.MBeanServer mbs,
                    JmxConnectionHandler jmxConnectionHandler)
Create a new instance of RmiConnector .

Parameters:
mbs - The MBean server.
jmxConnectionHandler - The associated JMX Connection Handler
Method Detail

initialize

public void initialize()
Activates the RMI Connectors. It starts the secure connectors.


finalizeConnectionHandler

public void finalizeConnectionHandler(boolean closeConnections,
                                      boolean stopRegistry)
Closes this connection handler so that it will no longer accept new client connections. It may or may not disconnect existing client connections based on the provided flag.

Parameters:
closeConnections - Indicates whether any established client connections associated with the connection handler should also be closed.
stopRegistry - Indicates if the RMI registry should be stopped

getProtocolVersion

public java.lang.String getProtocolVersion()
Retrieves the RMI protocol version string in use for this connector.

Returns:
The RMI protocol version string in use for this connector.