| Package | Description |
|---|---|
| java.rmi |
Provides the RMI package.
|
| java.rmi.activation |
Provides support for RMI Object Activation.
|
| java.rmi.dgc |
Provides classes and interface for RMI distributed garbage-collection (DGC).
|
| 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 |
Contains user APIs for RMI-IIOP.
|
| javax.rmi.CORBA |
Contains portability APIs for RMI-IIOP.
|
| org.omg.stub.java.rmi |
Contains RMI-IIOP Stubs for the Remote types that occur in the
java.rmi package.
|
| Modifier and Type | Method and Description |
|---|---|
static Remote |
Naming.lookup(String
Returns a reference, a stub, for the remote object associated with the specified
name.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Naming.bind(String
Binds the specified
name to a remote object.
|
static void |
Naming.rebind(String
Rebinds the specified name to a new remote object.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ActivationInstantiator
An
ActivationInstantiator is responsible for creating instances of "activatable" objects.
|
interface |
ActivationMonitor
An
ActivationMonitor is specific to an
ActivationGroup and is obtained when a group is reported active via a call to
ActivationSystem.activeGroup (this is done internally).
|
interface |
ActivationSystem
The
ActivationSystem provides a means for registering groups and "activatable" objects to be activated within those groups.
|
interface |
Activator
The
Activator facilitates remote object activation.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Activatable
The
Activatable class provides support for remote objects that require persistent access over time and that can be activated by the system.
|
class |
ActivationGroup
An
ActivationGroup is responsible for creating new instances of "activatable" objects in its group, informing its
ActivationMonitor when either: its object's become active or inactive, or the group as a whole becomes inactive.
|
| Modifier and Type | Method and Description |
|---|---|
Remote |
ActivationID.activate(boolean force)
Activate the object for this id.
|
static Remote |
Activatable.exportObject(Remote
Export the activatable remote object to the RMI runtime to make the object available to receive incoming calls.
|
static Remote |
Activatable.exportObject(Remote
Export the activatable remote object to the RMI runtime to make the object available to receive incoming calls.
|
static Remote |
Activatable.register(ActivationDesc
Register an object descriptor for an activatable remote object so that is can be activated on demand.
|
| Modifier and Type | Method and Description |
|---|---|
MarshalledObject |
Activator.activate(ActivationID
Activate the object associated with the activation identifier,
id.
|
MarshalledObject |
ActivationInstantiator.newInstance(ActivationID
The activator calls an instantiator's
newInstance method in order to recreate in that group an object with the activation identifier,
id, and descriptor,
desc.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
ActivationGroup.activeObject(ActivationID
The group's
activeObject method is called when an object is exported (either by
Activatable object construction or an explicit call to
Activatable.exportObject.
|
static Remote |
Activatable.exportObject(Remote
Export the activatable remote object to the RMI runtime to make the object available to receive incoming calls.
|
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.
|
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.
|
static boolean |
Activatable.unexportObject(Remote
Remove the remote object, obj, from the RMI runtime.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ActivationMonitor.activeObject(ActivationID
Informs that an object is now active.
|
protected void |
ActivationGroup.activeObject(ActivationID
This protected method is necessary for subclasses to make the
activeObject callback to the group's monitor.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
DGC
The DGC abstraction is used for the server side of the distributed garbage collection algorithm.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Registry
Registry is a remote interface to a simple remote object registry that provides methods for storing and retrieving remote object references bound with arbitrary string names.
|
| Modifier and Type | Method and Description |
|---|---|
Remote |
Registry.lookup(String
Returns the remote reference bound to the specified
name in this registry.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Registry.bind(String
Binds a remote reference to the specified
name in this registry.
|
void |
Registry.rebind(String
Replaces the binding for the specified
name in this registry with the supplied remote reference.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RemoteObject
The
RemoteObject class implements the
java.lang.Object behavior for remote objects.
|
class |
RemoteObjectInvocationHandler
An implementation of the
InvocationHandler interface for use with Java Remote Method Invocation (Java RMI).
|
class |
RemoteServer
The
RemoteServer class is the common superclass to server implementations and provides the framework to support a wide range of remote reference semantics.
|
class |
RemoteStub
Deprecated.
Statically generated stubs are deprecated, since stubs are generated dynamically. See
UnicastRemoteObject for information about dynamic stub generation.
|
class |
UnicastRemoteObject
Used for exporting a remote object with JRMP and obtaining a stub that communicates to the remote object.
|
| Modifier and Type | Method and Description |
|---|---|
static Remote |
UnicastRemoteObject.exportObject(Remote
Exports the remote object to make it available to receive incoming calls, using the particular supplied port.
|
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.
|
static Remote |
RemoteObject.toStub(Remote
Returns the stub for the remote object
obj passed as a parameter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Skeleton.dispatch(Remote
Deprecated.
no replacement
|
static RemoteStub |
UnicastRemoteObject.exportObject(Remote
Deprecated.
This method is deprecated because it supports only static stubs. Use
exportObject(Remote, port) or exportObject(Remote, port, csf, ssf) instead.
|
static Remote |
UnicastRemoteObject.exportObject(Remote
Exports the remote object to make it available to receive incoming calls, using the particular supplied port.
|
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.
|
RemoteStub |
ServerRef.exportObject(Remote
Deprecated.
Creates a client stub object for the supplied Remote object.
|
Object |
RemoteRef.invoke(Remote
Invoke a method.
|
static Remote |
RemoteObject.toStub(Remote
Returns the stub for the remote object
obj passed as a parameter.
|
static boolean |
UnicastRemoteObject.unexportObject(Remote
Removes the remote object, obj, from the RMI runtime.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
RMIConnection
RMI object used to forward an MBeanServer request from a client to its MBeanServer implementation on the server side.
|
interface |
RMIServer
RMI object used to establish connections to an RMI connector.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RMIConnectionImpl
Implementation of the
RMIConnection interface.
|
class |
RMIIIOPServerImpl
An
RMIServerImpl that is exported through IIOP and that creates client connections as RMI objects exported through IIOP.
|
class |
RMIJRMPServerImpl
An
RMIServer object that is exported through JRMP and that creates client connections as RMI objects exported through JRMP.
|
class |
RMIServerImpl
An RMI object representing a connector server.
|
| Modifier and Type | Method and Description |
|---|---|
Remote |
RMIJRMPServerImpl.toStub()
Returns a serializable stub for this
RMIServer object.
|
Remote |
RMIIIOPServerImpl.toStub()
Returns an IIOP stub.
|
abstract Remote |
RMIServerImpl.toStub()
Returns a remotable stub for this server object.
|
| Modifier and Type | Method and Description |
|---|---|
static Remote |
PortableRemoteObject.toStub(Remote
Returns a stub for the given server object.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
PortableRemoteObject.connect(Remote
Makes a Remote object ready for remote communication.
|
static void |
PortableRemoteObject.exportObject(Remote
Makes a server object ready to receive remote calls.
|
static Remote |
PortableRemoteObject.toStub(Remote
Returns a stub for the given server object.
|
static void |
PortableRemoteObject.unexportObject(Remote
Deregisters a server object from the runtime, allowing the object to become available for garbage collection.
|
| Modifier and Type | Method and Description |
|---|---|
Remote |
Tie.getTarget()
Returns the target for this tie.
|
Remote |
PortableRemoteObjectDelegate.toStub(Remote
Delegation call for
PortableRemoteObject.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PortableRemoteObjectDelegate.connect(Remote
Delegation call for
PortableRemoteObject.
|
void |
PortableRemoteObjectDelegate.exportObject(Remote
Delegation call for
PortableRemoteObject.
|
static Tie |
Util.getTie(Remote
Returns the tie (if any) for a given target object.
|
Tie |
UtilDelegate.getTie(Remote
Delegation call for
Util.
|
static void |
Util.registerTarget(Tie
Registers a target for a tie.
|
void |
UtilDelegate.registerTarget(Tie
Delegation call for
Util.
|
void |
Tie.setTarget(Remote
Called by
Util to set the target for this tie.
|
Remote |
PortableRemoteObjectDelegate.toStub(Remote
Delegation call for
PortableRemoteObject.
|
static void |
Util.unexportObject(Remote
Removes the associated tie from an internal table and calls
Tie to deactivate the object.
|
void |
UtilDelegate.unexportObject(Remote
Delegation call for
Util.
|
void |
PortableRemoteObjectDelegate.unexportObject(Remote
Delegation call for
PortableRemoteObject.
|
| Modifier and Type | Class and Description |
|---|---|
class |
_Remote_Stub
This class provides the Stub for the Remote Type.
|