BEA Systems, Inc.

BEA WebLogic Server 9.0 API Reference


weblogic.rmi.server
Class UnicastRemoteObject

java.lang.Object
  extended byweblogic.rmi.server.RemoteObject
      extended byweblogic.rmi.server.RemoteServer
          extended byweblogic.rmi.server.UnicastRemoteObject
All Implemented Interfaces:
Cloneable, Remote

public class UnicastRemoteObject
extends RemoteServer
implements Cloneable

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

Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Constructor Summary
protected UnicastRemoteObject()
           
 
Method Summary
 Object clone()
          Returns a clone of the remote object that is distinct from the original.
static Remote exportObject(Remote obj)
          Exports a remote object so it is available to receive incoming calls using a server port.
static boolean unexportObject(Object obj, boolean force)
          Removes a remote object from the RMI runtime.
 
Methods inherited from class weblogic.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class weblogic.rmi.server.RemoteObject
toStub
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnicastRemoteObject

protected UnicastRemoteObject()
Method Detail

clone

public Object clone()
             throws CloneNotSupportedException
Returns a clone of the remote object that is distinct from the original.

Returns:
the new remote object.
Throws:
CloneNotSupportedException - if the clone failed due to a RemoteException.

exportObject

public static Remote exportObject(Remote obj)
                           throws RemoteException
Exports a remote object so it is available to receive incoming calls using a server port.

Parameters:
obj - the remote object to be exported.
Returns:
the remote object stub.
Throws:
RemoteException - if the export fails.

unexportObject

public static boolean unexportObject(Object obj,
                                     boolean force)
                              throws NoSuchObjectException
Removes a remote object from the RMI runtime.

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs90
Copyright 2005 BEA Systems Inc.