APIdia Launch Partner
Top Description Interfaces Classes
module java.rmi

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

Interface Summary

Modifier and TypeInterface and Description
public interface
LoaderHandler

Deprecated no replacement
LoaderHandler is an interface used internally by the RMI runtime in previous implementation versions.
public interface
RemoteCall

Deprecated no replacement.
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.
public interface
RemoteRef

RemoteRef represents the handle for a remote object.

public interface
RMIClientSocketFactory

An RMIClientSocketFactory instance is used by the RMI runtime in order to obtain client sockets for RMI calls.

public interface
RMIFailureHandler

An RMIFailureHandler can be registered via the RMISocketFactory.setFailureHandler call.

public interface
RMIServerSocketFactory

An RMIServerSocketFactory instance is used by the RMI runtime in order to obtain server sockets for RMI calls.

public interface
ServerRef

Deprecated No replacement. This interface is unused and is obsolete.
A ServerRef represents the server-side handle for a remote object implementation.
public interface
Skeleton

Deprecated no replacement. Skeletons are no longer required for remote method calls in the Java 2 platform v1.2 and greater.
The Skeleton interface is used solely by the RMI implementation.
public interface
Unreferenced

A remote object implementation should implement the Unreferenced interface to receive notification when there are no more clients that reference that remote object.

Class Summary

Modifier and TypeClass and Description
public class
ExportException

An ExportException is a RemoteException thrown if an attempt to export a remote object fails.

public class
LogStream

Deprecated no replacement
LogStream provides a mechanism for logging errors that are of possible interest to those monitoring a system.
public class
ObjID

An ObjID is used to identify a remote object exported to an RMI runtime.

public class
Operation

Deprecated no replacement
An Operation contains a description of a Java method.
public abstract class
RemoteObject

The RemoteObject class implements the java.lang.Object behavior for remote objects.

public class
RemoteObjectInvocationHandler

An implementation of the InvocationHandler interface for use with Java Remote Method Invocation (Java RMI).

public abstract 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.

public abstract class
RemoteStub

Deprecated Statically generated stubs are deprecated, since stubs are generated dynamically. See UnicastRemoteObject for information about dynamic stub generation.
The RemoteStub class is the common superclass of statically generated client stubs and provides the framework to support a wide range of remote reference semantics.
public class
RMIClassLoader

RMIClassLoader comprises static methods to support dynamic class loading with RMI.

public abstract class
RMIClassLoaderSpi

RMIClassLoaderSpi is the service provider interface for RMIClassLoader.

public abstract class
RMISocketFactory

An RMISocketFactory instance is used by the RMI runtime in order to obtain client and server sockets for RMI calls.

public class
ServerCloneException

A ServerCloneException is thrown if a remote exception occurs during the cloning of a UnicastRemoteObject.

public class
ServerNotActiveException

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.

public class
SkeletonMismatchException

Deprecated no replacement. Skeletons are no longer required for remote method calls in the Java 2 platform v1.2 and greater.
This exception is thrown when a call is received that does not match the available skeleton.
public class
SkeletonNotFoundException

Deprecated no replacement. Skeletons are no longer required for remote method calls in the Java 2 platform v1.2 and greater.
A SkeletonNotFoundException is thrown if the Skeleton corresponding to the remote object being exported is not found.
public class
SocketSecurityException

Deprecated This class is obsolete. Use ExportException instead.
An obsolete subclass of ExportException.
public class
UID

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.

public class
UnicastRemoteObject

Used for exporting a remote object with JRMP and obtaining a stub that communicates to the remote object.