Package org.opends.server.protocols.jmx
Class OpendsRMIJRMPServerImpl
- java.lang.Object
-
- javax.management.remote.rmi.RMIServerImpl
-
- javax.management.remote.rmi.RMIJRMPServerImpl
-
- org.opends.server.protocols.jmx.OpendsRMIJRMPServerImpl
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Remote
,RMIServer
public class OpendsRMIJRMPServerImpl extends RMIJRMPServerImpl
AnOpendsRMIJRMPServerImpl
object that is exported through JRMP and that creates client connections as RMI objects exported through JRMP.
-
-
Constructor Summary
Constructors Constructor Description OpendsRMIJRMPServerImpl(int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf, Map<String,?> env)
Creates a new RMIServer object that will be exported on the given port using the given socket factories.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RMIConnection
makeClient(String connectionId, 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
-
-
-
-
Constructor Detail
-
OpendsRMIJRMPServerImpl
public OpendsRMIJRMPServerImpl(int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf, Map<String,?> env) throws 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 portcsf
- 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:
IOException
- if the RMIServer object cannot be created.
-
-
Method Detail
-
makeClient
protected RMIConnection makeClient(String connectionId, Subject subject) throws IOException
- Overrides:
makeClient
in classRMIJRMPServerImpl
- Throws:
IOException
-
-