Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06

weblogic.rmi.server
Class RemoteServer

java.lang.Object
  extended by weblogic.rmi.server.RemoteObject
      extended by weblogic.rmi.server.RemoteServer
All Implemented Interfaces:
Remote
Direct Known Subclasses:
UnicastRemoteObject

public abstract class RemoteServer
extends RemoteObject

This abstract class is provided strictly for compatibility with java.rmi.* package.


Constructor Summary
protected RemoteServer()
           
 
Method Summary
static String getClientHost()
          Returns a string representation of the client host for the remote method invocation being processed in the current thread.
static PrintStream getLog()
          Returns the stream for an RMI call log.
static void setLog(OutputStream out)
          Logs RMI calls to the output stream, out.
 
Methods inherited from class weblogic.rmi.server.RemoteObject
toStub
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteServer

protected RemoteServer()
Method Detail

getClientHost

public static String getClientHost()
                            throws ServerNotActiveException
Returns a string representation of the client host for the remote method invocation being processed in the current thread.

Returns:
a string representation of the client host.
Throws:
ServerNotActiveException - if no remote method invocation is being processed in the current thread.

setLog

public static void setLog(OutputStream out)
Logs RMI calls to the output stream, out.

Parameters:
out - the output stream to which RMI calls are logged.
Throws:
SecurityException - if there is a security manager and the invocation of its checkPermission method fails.
See Also:
RemoteServer.getLog()

getLog

public static PrintStream getLog()
Returns the stream for an RMI call log.

Returns:
the call log.
See Also:
RemoteServer.setLog(java.io.OutputStream)

Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06