java.lang.Object
javax.management.remote.rmi.RMIServerImpl
- All Implemented Interfaces:
Closeable,AutoCloseable,Remote,RMIServer
- Direct Known Subclasses:
RMIJRMPServerImpl
An RMI object representing a connector server. Remote clients
can make connections using the newClient(Object) method. This
method returns an RMI object representing the connection.
User code does not usually reference this class directly.
RMI connection servers are usually created with the class RMIConnectorServer. Remote clients usually create connections
either with JMXConnectorFactory
or by instantiating RMIConnector.
This is an abstract class. Concrete subclasses define the details of the client connection objects.
- Since:
- 1.5
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclientClosed(RMIConnection client) Method called when a client connection created bymakeClientis closed.voidclose()Closes this connection server.protected abstract voidcloseClient(RMIConnection client) Closes a client connection made bymakeClient.protected abstract voidCalled byclose()to close the connector server.protected abstract voidexport()Exports this RMI object.Gets the defaultClassLoaderused by this connector server.TheMBeanServerto which this connector server is attached.protected abstract StringReturns the protocol string for this object.The version of the RMI Connector Protocol understood by this connector server.protected abstract RMIConnectionmakeClient(String connectionId, Subject subject) Creates a new client connection.Creates a new client connection.voidSets the defaultClassLoaderfor this connector server.voidSets theMBeanServerto which this connector server is attached.abstract RemotetoStub()Returns a remotable stub for this server object.
-
Constructor Details
-
RMIServerImpl
Constructs a new
RMIServerImpl.- Parameters:
env- the environment containing attributes for the newRMIServerImpl
-