java.rmi.server |
Provides classes and interfaces for supporting the server
side of RMI. A group of classes are used by the stubs and skeletons
generated by the rmic stub compiler. Another group of classes
implements the RMI Transport protocol and HTTP tunneling.
@since JDK1.1
|
Java Source File Name | Type | Comment |
ExportException.java | Class | An ExportException is a RemoteException
thrown if an attempt to export a remote object fails. |
LoaderHandler.java | Interface | LoaderHandler is an interface used internally by the RMI
runtime in previous implementation versions. |
LogStream.java | Class | LogStream provides a mechanism for logging errors that are
of possible interest to those monitoring a system. |
ObjID.java | Class | An ObjID is used to identify a remote object exported
to an RMI runtime. |
Operation.java | Class | An Operation contains a description of a Java method.
Operation objects were used in JDK1.1 version stubs and
skeletons. |
RemoteCall.java | Interface | RemoteCall is an abstraction used solely by the RMI runtime
(in conjunction with stubs and skeletons of remote objects) to carry out a
call to a remote object. |
RemoteObject.java | Class | The RemoteObject class implements the
java.lang.Object behavior for remote objects. |
RemoteObjectInvocationHandler.java | Class | An implementation of the InvocationHandler interface for
use with Java Remote Method Invocation (Java RMI). |
RemoteRef.java | Interface | RemoteRef represents the handle for a remote object. |
RemoteServer.java | Class | The RemoteServer class is the common superclass to server
implementations and provides the framework to support a wide range
of remote reference semantics. |
RemoteStub.java | Class | The RemoteStub class is the common superclass to client
stubs and provides the framework to support a wide range of remote
reference semantics. |
RMIClassLoader.java | Class | RMIClassLoader comprises static methods to support
dynamic class loading with RMI. |
RMIClassLoaderSpi.java | Class | RMIClassLoaderSpi is the service provider interface for
RMIClassLoader . |
RMIClientSocketFactory.java | Interface | An RMIClientSocketFactory instance is used by the RMI runtime
in order to obtain client sockets for RMI calls. |
RMIFailureHandler.java | Interface | An RMIFailureHandler can be registered via the
RMISocketFactory.setFailureHandler call. |
RMIServerSocketFactory.java | Interface | An RMIServerSocketFactory instance is used by the RMI runtime
in order to obtain server sockets for RMI calls. |
RMISocketFactory.java | Class | An RMISocketFactory instance is used by the RMI runtime
in order to obtain client and server sockets for RMI calls. |
ServerCloneException.java | Class | A ServerCloneException is thrown if a remote exception occurs
during the cloning of a UnicastRemoteObject .
As of release 1.4, this exception has been retrofitted to conform to
the general purpose exception-chaining mechanism. |
ServerNotActiveException.java | Class | An ServerNotActiveException is an Exception
thrown during a call to RemoteServer.getClientHost if
the getClientHost method is called outside of servicing a remote
method call. |
ServerRef.java | Interface | A ServerRef represents the server-side handle for a remote object
implementation. |
Skeleton.java | Interface | The Skeleton interface is used solely by the RMI
implementation.
Every version 1.1 (and version 1.1 compatible skeletons generated in
1.2 using rmic -vcompat ) skeleton class generated by the rmic
stub compiler implements this interface. |
SkeletonMismatchException.java | Class | This exception is thrown when a call is received that does not
match the available skeleton. |
SkeletonNotFoundException.java | Class | A SkeletonNotFoundException is thrown if the
Skeleton corresponding to the remote object being
exported is not found. |
SocketSecurityException.java | Class | An obsolete subclass of
ExportException . |
UID.java | Class | A UID represents an identifier that is unique over time
with respect to the host it is generated on, or one of 216
"well-known" identifiers.
The
UID.UID() constructor can be used to generate an
identifier that is unique over time with respect to the host it is
generated on. |
UnicastRemoteObject.java | Class | Used for exporting a remote object with JRMP and obtaining a stub
that communicates to the remote object.
For the constructors and static exportObject methods
below, the stub for a remote object being exported is obtained as
follows:
- If the remote object is exported using the
UnicastRemoteObject.exportObject(Remote) UnicastRemoteObject.exportObject(Remote) method,
a stub class (typically pregenerated from the remote object's class
using the
rmic tool) is loaded and an instance of that stub
class is constructed as follows.
- A "root class" is determined as follows: if the remote object's
class directly implements an interface that extends
Remote , then
the remote object's class is the root class; otherwise, the root class is
the most derived superclass of the remote object's class that directly
implements an interface that extends
Remote .
- The name of the stub class to load is determined by concatenating
the binary name of the root class with the suffix
"_Stub" .
- The stub class is loaded by name using the class loader of the root
class.
|
Unreferenced.java | Interface | A remote object implementation should implement the
Unreferenced interface to receive notification when there are
no more clients that reference that remote object. |