org.opends.server.protocols.jmx
Class OpendsRMIJRMPServerImpl

java.lang.Object
  extended by javax.management.remote.rmi.RMIServerImpl
      extended by javax.management.remote.rmi.RMIJRMPServerImpl
          extended by org.opends.server.protocols.jmx.OpendsRMIJRMPServerImpl
All Implemented Interfaces:
java.io.Closeable, java.rmi.Remote, javax.management.remote.rmi.RMIServer

public class OpendsRMIJRMPServerImpl
extends javax.management.remote.rmi.RMIJRMPServerImpl

An OpendsRMIJRMPServerImpl object that is exported through JRMP and that creates client connections as RMI objects exported through JRMP.


Constructor Summary
OpendsRMIJRMPServerImpl(int port, java.rmi.server.RMIClientSocketFactory csf, java.rmi.server.RMIServerSocketFactory ssf, java.util.Map<java.lang.String,?> env)
          Creates a new RMIServer object that will be exported on the given port using the given socket factories.
 
Method Summary
protected  javax.management.remote.rmi.RMIConnection makeClient(java.lang.String connectionId, javax.security.auth.Subject subject)
          
 
Methods inherited from class javax.management.remote.rmi.RMIJRMPServerImpl
closeClient, closeServer, export, getProtocol, toStub
 
Methods inherited from class javax.management.remote.rmi.RMIServerImpl
clientClosed, close, getDefaultClassLoader, getMBeanServer, getVersion, newClient, setDefaultClassLoader, setMBeanServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpendsRMIJRMPServerImpl

public OpendsRMIJRMPServerImpl(int port,
                               java.rmi.server.RMIClientSocketFactory csf,
                               java.rmi.server.RMIServerSocketFactory ssf,
                               java.util.Map<java.lang.String,?> env)
                        throws java.io.IOException
Creates a new RMIServer object that will be exported on the given port using the given socket factories.

Parameters:
port - the port on which this object and the RMIConnectionImpl objects it creates will be exported. Can be zero, to indicate any available port
csf - the client socket factory for the created RMI objects. Can be null.
ssf - the server socket factory for the created RMI objects. Can be null.
env - the environment map. Can be null.
Throws:
java.io.IOException - if the RMIServer object cannot be created.
Method Detail

makeClient

protected javax.management.remote.rmi.RMIConnection makeClient(java.lang.String connectionId,
                                                               javax.security.auth.Subject subject)
                                                        throws java.io.IOException

Overrides:
makeClient in class javax.management.remote.rmi.RMIJRMPServerImpl
Throws:
java.io.IOException