Uses of Interface
java.rmi.Remote
-
Packages that use Remote 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. -
-
Uses of Remote in java.rmi
Methods in java.rmi that return Remote Modifier and Type Method and Description static Remote
Naming. lookup(String name)
Returns a reference, a stub, for the remote object associated with the specifiedname
.Methods in java.rmi with parameters of type Remote Modifier and Type Method and Description static void
Naming. bind(String name, Remote obj)
Binds the specifiedname
to a remote object.static void
Naming. rebind(String name, Remote obj)
Rebinds the specified name to a new remote object. -
Uses of Remote in java.rmi.activation
Subinterfaces of Remote in java.rmi.activation Modifier and Type Interface and Description interface
ActivationInstantiator
AnActivationInstantiator
is responsible for creating instances of "activatable" objects.interface
ActivationMonitor
AnActivationMonitor
is specific to anActivationGroup
and is obtained when a group is reported active via a call toActivationSystem.activeGroup
(this is done internally).interface
ActivationSystem
TheActivationSystem
provides a means for registering groups and "activatable" objects to be activated within those groups.interface
Activator
TheActivator
facilitates remote object activation.Classes in java.rmi.activation that implement Remote Modifier and Type Class and Description class
Activatable
TheActivatable
class provides support for remote objects that require persistent access over time and that can be activated by the system.class
ActivationGroup
AnActivationGroup
is responsible for creating new instances of "activatable" objects in its group, informing itsActivationMonitor
when either: its object's become active or inactive, or the group as a whole becomes inactive.class
ActivationGroup_Stub
ActivationGroup_Stub
is a stub class for the subclasses ofjava.rmi.activation.ActivationGroup
that are exported as ajava.rmi.server.UnicastRemoteObject
.Methods in java.rmi.activation that return Remote Modifier and Type Method and Description Remote
ActivationID. activate(boolean force)
Activate the object for this id.static Remote
Activatable. exportObject(Remote obj, ActivationID id, int port)
Export the activatable remote object to the RMI runtime to make the object available to receive incoming calls.static Remote
Activatable. exportObject(Remote obj, ActivationID id, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
Export the activatable remote object to the RMI runtime to make the object available to receive incoming calls.static Remote
Activatable. register(ActivationDesc desc)
Register an object descriptor for an activatable remote object so that is can be activated on demand.Methods in java.rmi.activation that return types with arguments of type Remote Modifier and Type Method and Description MarshalledObject<? extends Remote>
Activator. activate(ActivationID id, boolean force)
Activate the object associated with the activation identifier,id
.MarshalledObject<? extends Remote>
ActivationInstantiator. newInstance(ActivationID id, ActivationDesc desc)
The activator calls an instantiator'snewInstance
method in order to recreate in that group an object with the activation identifier,id
, and descriptor,desc
.Methods in java.rmi.activation with parameters of type Remote Modifier and Type Method and Description abstract void
ActivationGroup. activeObject(ActivationID id, Remote obj)
The group'sactiveObject
method is called when an object is exported (either byActivatable
object construction or an explicit call toActivatable.exportObject
.static Remote
Activatable. exportObject(Remote obj, ActivationID id, int port)
Export the activatable remote object to the RMI runtime to make the object available to receive incoming calls.static Remote
Activatable. exportObject(Remote obj, ActivationID id, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
Export the activatable remote object to the RMI runtime to make the object available to receive incoming calls.static ActivationID
Activatable. exportObject(Remote obj, String location, MarshalledObject<?> data, boolean restart, int port)
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 obj, String location, MarshalledObject<?> data, boolean restart, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
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 obj, boolean force)
Remove the remote object, obj, from the RMI runtime.Method parameters in java.rmi.activation with type arguments of type Remote Modifier and Type Method and Description protected void
ActivationGroup. activeObject(ActivationID id, MarshalledObject<? extends Remote> mobj)
This protected method is necessary for subclasses to make theactiveObject
callback to the group's monitor.void
ActivationMonitor. activeObject(ActivationID id, MarshalledObject<? extends Remote> obj)
Informs that an object is now active. -
Uses of Remote in java.rmi.dgc
Subinterfaces of Remote in java.rmi.dgc Modifier and Type Interface and Description interface
DGC
The DGC abstraction is used for the server side of the distributed garbage collection algorithm. -
Uses of Remote in java.rmi.registry
Subinterfaces of Remote in java.rmi.registry 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.Methods in java.rmi.registry that return Remote Modifier and Type Method and Description Remote
Registry. lookup(String name)
Returns the remote reference bound to the specifiedname
in this registry.Methods in java.rmi.registry with parameters of type Remote Modifier and Type Method and Description void
Registry. bind(String name, Remote obj)
Binds a remote reference to the specifiedname
in this registry.void
Registry. rebind(String name, Remote obj)
Replaces the binding for the specifiedname
in this registry with the supplied remote reference. -
Uses of Remote in java.rmi.server
Classes in java.rmi.server that implement Remote Modifier and Type Class and Description class
RemoteObject
TheRemoteObject
class implements thejava.lang.Object
behavior for remote objects.class
RemoteObjectInvocationHandler
An implementation of theInvocationHandler
interface for use with Java Remote Method Invocation (Java RMI).class
RemoteServer
TheRemoteServer
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. SeeUnicastRemoteObject
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.Methods in java.rmi.server that return Remote Modifier and Type Method and Description static Remote
UnicastRemoteObject. exportObject(Remote obj, int port)
Exports the remote object to make it available to receive incoming calls, using the particular supplied port.static Remote
UnicastRemoteObject. exportObject(Remote obj, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
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 obj)
Returns the stub for the remote objectobj
passed as a parameter.Methods in java.rmi.server with parameters of type Remote Modifier and Type Method and Description void
Skeleton. dispatch(Remote obj, RemoteCall theCall, int opnum, long hash)
Deprecated.no replacementstatic RemoteStub
UnicastRemoteObject. exportObject(Remote obj)
Deprecated.This method is deprecated because it supports only static stubs. UseexportObject(Remote, port)
orexportObject(Remote, port, csf, ssf)
instead.static Remote
UnicastRemoteObject. exportObject(Remote obj, int port)
Exports the remote object to make it available to receive incoming calls, using the particular supplied port.static Remote
UnicastRemoteObject. exportObject(Remote obj, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
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 obj, Object data)
Deprecated.Creates a client stub object for the supplied Remote object.Object
RemoteRef. invoke(Remote obj, Method method, Object[] params, long opnum)
Invoke a method.static Remote
RemoteObject. toStub(Remote obj)
Returns the stub for the remote objectobj
passed as a parameter.static boolean
UnicastRemoteObject. unexportObject(Remote obj, boolean force)
Removes the remote object, obj, from the RMI runtime. -
Uses of Remote in javax.management.remote.rmi
Subinterfaces of Remote in javax.management.remote.rmi 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.Classes in javax.management.remote.rmi that implement Remote Modifier and Type Class and Description class
RMIConnectionImpl
Implementation of theRMIConnection
interface.class
RMIConnectionImpl_Stub
class
RMIIIOPServerImpl
AnRMIServerImpl
that is exported through IIOP and that creates client connections as RMI objects exported through IIOP.class
RMIJRMPServerImpl
AnRMIServer
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.class
RMIServerImpl_Stub
Methods in javax.management.remote.rmi that return Remote Modifier and Type Method and Description Remote
RMIIIOPServerImpl. toStub()
Returns an IIOP stub.Remote
RMIJRMPServerImpl. toStub()
Returns a serializable stub for thisRMIServer
object.abstract Remote
RMIServerImpl. toStub()
Returns a remotable stub for this server object. -
Uses of Remote in javax.rmi
Methods in javax.rmi that return Remote Modifier and Type Method and Description static Remote
PortableRemoteObject. toStub(Remote obj)
Returns a stub for the given server object.Methods in javax.rmi with parameters of type Remote Modifier and Type Method and Description static void
PortableRemoteObject. connect(Remote target, Remote source)
Makes a Remote object ready for remote communication.static void
PortableRemoteObject. exportObject(Remote obj)
Makes a server object ready to receive remote calls.static Remote
PortableRemoteObject. toStub(Remote obj)
Returns a stub for the given server object.static void
PortableRemoteObject. unexportObject(Remote obj)
Deregisters a server object from the runtime, allowing the object to become available for garbage collection. -
Uses of Remote in javax.rmi.CORBA
Methods in javax.rmi.CORBA that return Remote Modifier and Type Method and Description Remote
Tie. getTarget()
Returns the target for this tie.Remote
PortableRemoteObjectDelegate. toStub(Remote obj)
Delegation call forPortableRemoteObject.toStub(java.rmi.Remote)
.Methods in javax.rmi.CORBA with parameters of type Remote Modifier and Type Method and Description void
PortableRemoteObjectDelegate. connect(Remote target, Remote source)
Delegation call forPortableRemoteObject.connect(java.rmi.Remote, java.rmi.Remote)
.void
PortableRemoteObjectDelegate. exportObject(Remote obj)
Delegation call forPortableRemoteObject.exportObject(java.rmi.Remote)
.static Tie
Util. getTie(Remote target)
Returns the tie (if any) for a given target object.Tie
UtilDelegate. getTie(Remote target)
Delegation call forUtil.getTie(java.rmi.Remote)
.static void
Util. registerTarget(Tie tie, Remote target)
Registers a target for a tie.void
UtilDelegate. registerTarget(Tie tie, Remote target)
Delegation call forUtil.registerTarget(javax.rmi.CORBA.Tie, java.rmi.Remote)
.void
Tie. setTarget(Remote target)
Called byUtil.registerTarget(javax.rmi.CORBA.Tie, java.rmi.Remote)
to set the target for this tie.Remote
PortableRemoteObjectDelegate. toStub(Remote obj)
Delegation call forPortableRemoteObject.toStub(java.rmi.Remote)
.void
PortableRemoteObjectDelegate. unexportObject(Remote obj)
Delegation call forPortableRemoteObject.unexportObject(java.rmi.Remote)
.static void
Util. unexportObject(Remote target)
Removes the associated tie from an internal table and callsTie.deactivate()
to deactivate the object.void
UtilDelegate. unexportObject(Remote target)
Delegation call forUtil.unexportObject(java.rmi.Remote)
. -
Uses of Remote in org.omg.stub.java.rmi
Classes in org.omg.stub.java.rmi that implement Remote Modifier and Type Class and Description class
_Remote_Stub
This class provides the Stub for the Remote Type.
-
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.