| Package | Description |
|---|---|
| java.rmi.activation |
Provides support for RMI Object Activation.
|
| java.rmi.registry |
Provides a class and two interfaces for the RMI registry.
|
| java.rmi.server |
Provides classes and interfaces for supporting the server side of RMI.
|
| javax.management.remote.rmi |
The RMI connector is a connector for the JMX Remote API that uses RMI to transmit client requests to a remote MBean server.
|
| javax.rmi.ssl |
Provides implementations of
RMIClientSocketFactory and
RMIServerSocketFactory over the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols.
|
| Modifier and Type | Method and Description |
|---|---|
static Remote |
Activatable.exportObject(Remote
Export the activatable remote object to the RMI runtime to make the object available to receive incoming calls.
|
static ActivationID |
Activatable.exportObject(Remote
Registers an activation descriptor (with the specified location, data, and restart mode) for the specified object, and exports that object with the specified port, and the specified client and server socket factories.
|
| Constructor and Description | |
|---|---|
Activatable(ActivationID
Constructor used to activate/export the object on a specified port.
|
|
Activatable(String
Constructs an activatable remote object by registering an activation descriptor (with the specified location, data, and restart mode) for this object, and exporting the object with the specified port, and specified client and server socket factories.
|
| Modifier and Type | Method and Description |
|---|---|
static Registry |
LocateRegistry.createRegistry(int port, RMIClientSocketFactory
Creates and exports a
Registry instance on the local host that uses custom socket factories for communication with that instance.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RMISocketFactory
An
RMISocketFactory instance is used by the RMI runtime in order to obtain client and server sockets for RMI calls.
|
| Modifier and Type | Method and Description |
|---|---|
static Remote |
UnicastRemoteObject.exportObject(Remote
Exports the remote object to make it available to receive incoming calls, using a transport specified by the given socket factory.
|
| Constructor and Description | |
|---|---|
UnicastRemoteObject(int port, RMIClientSocketFactory
Creates and exports a new UnicastRemoteObject object using the particular supplied port and socket factories.
|
| Constructor and Description | |
|---|---|
RMIJRMPServerImpl(int port, RMIClientSocketFactory
Creates a new
RMIServer object that will be exported on the given port using the given socket factories.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SslRMIServerSocketFactory
An
SslRMIServerSocketFactory instance is used by the RMI runtime in order to obtain server sockets for RMI calls via SSL.
|