| |
|
| java.lang.Object java.rmi.server.RemoteObject java.rmi.server.RemoteServer
All known Subclasses: java.rmi.activation.Activatable, java.rmi.server.UnicastRemoteObject,
RemoteServer | abstract public class RemoteServer extends RemoteObject (Code) | | The RemoteServer class is the common superclass to server
implementations and provides the framework to support a wide range
of remote reference semantics. Specifically, the functions needed
to create and export remote objects (i.e. to make them remotely
available) are provided abstractly by RemoteServer and
concretely by its subclass(es).
version: 1.39, 05/05/07 author: Ann Wollrath since: JDK1.1 |
Constructor Summary | |
protected | RemoteServer() Constructs a RemoteServer . | protected | RemoteServer(RemoteRef ref) Constructs a RemoteServer with the given reference type. |
RemoteServer | protected RemoteServer()(Code) | | Constructs a RemoteServer .
since: JDK1.1 |
RemoteServer | protected RemoteServer(RemoteRef ref)(Code) | | Constructs a RemoteServer with the given reference type.
Parameters: ref - the remote reference since: JDK1.1 |
getClientHost | public static String getClientHost() throws ServerNotActiveException(Code) | | Returns a string representation of the client host for the
remote method invocation being processed in the current thread.
a string representation of the client host throws: ServerNotActiveException - if no remote method invocationis being processed in the current thread since: JDK1.1 |
setLog | public static void setLog(java.io.OutputStream out)(Code) | | Log RMI calls to the output stream out . If
out is null , call logging is turned off.
If there is a security manager, its
checkPermission method will be invoked with a
java.util.logging.LoggingPermission("control")
permission; this could result in a SecurityException .
Parameters: out - the output stream to which RMI calls should be logged throws: SecurityException - if there is a security manager andthe invocation of its checkPermission methodfails See Also: RemoteServer.getLog since: JDK1.1 |
|
|
|