Spec-Zone .ru
спецификации, руководства, описания, API
|
|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Remote | |
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. |
Uses of Remote in java.rmi |
Methods in java.rmi that return Remote | |
static Remote |
Naming.lookup(String name)
Returns a reference, a stub, for the remote object associated with the specified name . |
Methods in java.rmi with parameters of type Remote | |
static void |
Naming.bind(String name,
Remote obj)
Binds the specified name 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 | |
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. |
Classes in java.rmi.activation that implement Remote | |
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. |
Methods in java.rmi.activation that return Remote | |
static Remote |
Activatable.register(ActivationDesc desc)
Register an object descriptor for an activatable remote object so that is can be activated on demand. |
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. |
Remote |
ActivationID.activate(boolean force)
Activate the object for this id. |
Methods in java.rmi.activation with parameters of type Remote | |
static ActivationID |
Activatable.exportObject(Remote obj,
String location,
MarshalledObject data,
boolean restart,
int port)
This exportObject method may be invoked explicitly
by an "activatable" object, that does not extend the
Activatable class, in order to both a) register
the object's activation descriptor, constructed from the supplied
location , and data , with
the activation system (so the object can be activated), and
b) export the remote object, obj , on a specific
port (if port=0, then an anonymous port is chosen). |
static ActivationID |
Activatable.exportObject(Remote obj,
String location,
MarshalledObject data,
boolean restart,
int port,
RMIClientSocketFactory csf,
RMIServerSocketFactory ssf)
This exportObject method may be invoked explicitly
by an "activatable" object, that does not extend the
Activatable class, in order to both a) register
the object's activation descriptor, constructed from the supplied
location , and data , with
the activation system (so the object can be activated), and
b) export the remote object, obj , on a specific
port (if port=0, then an anonymous port is chosen). |
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 boolean |
Activatable.unexportObject(Remote obj,
boolean force)
Remove the remote object, obj, from the RMI runtime. |
abstract void |
ActivationGroup.activeObject(ActivationID id,
Remote obj)
The group's activeObject method is called when an
object is exported (either by Activatable object
construction or an explicit call to
Activatable.exportObject . |
Uses of Remote in java.rmi.dgc |
Subinterfaces of Remote in java.rmi.dgc | |
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 | |
interface |
Registry
For obtaining references to remote objects, RMI provides a simple remote object registry interface, implemented by RMI's rmiregistry , that provides methods for storing and retrieving
remote object references. |
Methods in java.rmi.registry that return Remote | |
Remote |
Registry.lookup(String name)
Returns a reference, a stub, for the remote object associated with the specified name . |
Methods in java.rmi.registry with parameters of type Remote | |
void |
Registry.bind(String name,
Remote obj)
Binds the specified name to a remote object. |
void |
Registry.rebind(String name,
Remote obj)
Rebinds the specified name to a new remote object. |
Uses of Remote in java.rmi.server |
Classes in java.rmi.server that implement Remote | |
class |
RemoteObject
The RemoteObject class implements the
java.lang.Object behavior for remote objects. |
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
The RemoteStub class is the common superclass to client
stubs and provides the framework to support a wide range of remote
reference semantics. |
class |
UnicastRemoteObject
The UnicastRemoteObject class defines a non-replicated remote object whose references are valid only while the server process is alive. |
Methods in java.rmi.server that return Remote | |
static Remote |
RemoteObject.toStub(Remote obj)
Returns the stub for the remote object obj passed
as a parameter. |
static Remote |
UnicastRemoteObject.exportObject(Remote obj,
int port)
Export 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)
Export the remote object to make it available to receive incoming calls, using a transport specified by the given socket factory. |
Methods in java.rmi.server with parameters of type Remote | |
static Remote |
RemoteObject.toStub(Remote obj)
Returns the stub for the remote object obj passed
as a parameter. |
static RemoteStub |
UnicastRemoteObject.exportObject(Remote obj)
Export the remote object to make it available to receive incoming calls, using an anonymous port. |
static Remote |
UnicastRemoteObject.exportObject(Remote obj,
int port)
Export 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)
Export the remote object to make it available to receive incoming calls, using a transport specified by the given socket factory. |
static boolean |
UnicastRemoteObject.unexportObject(Remote obj,
boolean force)
Remove the remote object, obj, from the RMI runtime. |
Object |
RemoteRef.invoke(Remote obj,
Method method,
Object[] params,
long opnum)
Invoke a method. |
void |
Skeleton.dispatch(Remote obj,
RemoteCall theCall,
int opnum,
long hash)
Deprecated. no replacement |
RemoteStub |
ServerRef.exportObject(Remote obj,
Object data)
Creates a client stub object for the supplied Remote object. |
|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV NEXT | FRAMES NO FRAMES |