站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java 2 SDK v1.4.2, Java 2 SDK 英文文档

java.rmi.server (Java 2 Platform SE v1.4.2) - Java 2 SDK v1.4.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Std. Ed. v1.4.2

Package java.rmi.server

Provides classes and interfaces for supporting the server side of RMI.

See:
          Description

Interface Summary
LoaderHandler Deprecated. no replacement
RemoteCall Deprecated. no replacement.
RemoteRef RemoteRef represents the handle for a remote object.
RMIClientSocketFactory An RMIClientSocketFactory instance is used by the RMI runtime in order to obtain client sockets for RMI calls.
RMIFailureHandler An RMIFailureHandler can be registered via the RMISocketFactory.setFailureHandler call.
RMIServerSocketFactory An RMIServerSocketFactory instance is used by the RMI runtime in order to obtain server sockets for RMI calls.
ServerRef A ServerRef represents the server-side handle for a remote object implementation.
Skeleton Deprecated. no replacement.
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
LogStream Deprecated. no replacement
ObjID An ObjID is used to identify a remote object exported to an RMI runtime.
Operation Deprecated. no replacement
RemoteObject The RemoteObject class implements the java.lang.Object behavior for remote objects.
RemoteServer The RemoteServer class is the common superclass to server implementations and provides the framework to support a wide range of remote reference semantics.
RemoteStub The RemoteStub class is the common superclass to client stubs and provides the framework to support a wide range of remote reference semantics.
RMIClassLoader RMIClassLoader comprises static methods to support dynamic class loading with RMI.
RMIClassLoaderSpi RMIClassLoaderSpi is the service provider interface for RMIClassLoader.
RMISocketFactory An RMISocketFactory instance is used by the RMI runtime in order to obtain client and server sockets for RMI calls.
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.
UnicastRemoteObject The UnicastRemoteObject class defines a non-replicated remote object whose references are valid only while the server process is alive.
 

Exception Summary
ExportException An ExportException is a RemoteException thrown if an attempt to export a remote object fails.
ServerCloneException A ServerCloneException is thrown if a remote exception occurs during the cloning of a UnicastRemoteObject.
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.
SkeletonMismatchException Deprecated. no replacement.
SkeletonNotFoundException Deprecated. no replacement.
SocketSecurityException A SocketSecurityException is thrown during remote object export if the code exporting the remote object (either by construction or by explicit call to the exportObject method of UnicastRemoteObject or java.rmi.activation.Activatable) does not have permission to create a java.net.ServerSocket on the port number specified during remote object export.
 

Package java.rmi.server Description

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

JavaTM 2 Platform
Std. Ed. v1.4.2

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.