Package java.rmi.server
package java.rmi.server
Provides classes and interfaces for supporting the server side of RMI.
One group of classes are used by the static stubs and skeletons.
Another group of classes implements the RMI Transport protocol.
Deprecated: Skeletons and Static Stubs.
Skeletons and statically generated stubs are deprecated. This
includes the APIs in this package that require the use of skeletons
or static stubs and the runtime support for them. Support for skeletons
and static stubs may be removed in a future release of the
platform. Skeletons are unnecessary, as server-side method dispatching
is handled directly by the RMI runtime. Statically generated stubs are
unnecessary, as stubs are generated dynamically using Proxy objects. See UnicastRemoteObject for
information about dynamic stub generation.
- Since:
- 1.1
-
ClassDescriptionAn
ExportExceptionis aRemoteExceptionthrown if an attempt to export a remote object fails.Deprecated.no replacementDeprecated.no replacementAnObjIDis used to identify a remote object exported to an RMI runtime.Deprecated.no replacementDeprecated.no replacement.TheRemoteObjectclass implements thejava.lang.Objectbehavior for remote objects.An implementation of theInvocationHandlerinterface for use with Java Remote Method Invocation (Java RMI).RemoteRefrepresents the handle for a remote object.TheRemoteServerclass is the common superclass to server implementations and provides the framework to support a wide range of remote reference semantics.Deprecated.Statically generated stubs are deprecated, since stubs are generated dynamically.RMIClassLoadercomprises static methods to support dynamic class loading with RMI.RMIClassLoaderSpiis the service provider interface forRMIClassLoader.AnRMIClientSocketFactoryinstance is used by the RMI runtime in order to obtain client sockets for RMI calls.AnRMIFailureHandlercan be registered via theRMISocketFactory.setFailureHandlercall.AnRMIServerSocketFactoryinstance is used by the RMI runtime in order to obtain server sockets for RMI calls.AnRMISocketFactoryinstance is used by the RMI runtime in order to obtain client and server sockets for RMI calls.AServerCloneExceptionis thrown if a remote exception occurs during the cloning of aUnicastRemoteObject.AnServerNotActiveExceptionis anExceptionthrown during a call toRemoteServer.getClientHostif the getClientHost method is called outside of servicing a remote method call.Deprecated.No replacement.Deprecated.no replacement.Deprecated.no replacement.Deprecated.no replacement.Deprecated.This class is obsolete.AUIDrepresents an identifier that is unique over time with respect to the host it is generated on, or one of 216 "well-known" identifiers.Used for exporting a remote object with JRMP and obtaining a stub that communicates to the remote object.A remote object implementation should implement theUnreferencedinterface to receive notification when there are no more clients that reference that remote object.