|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.5) Part Number E13941-05 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.rmi.server.RemoteObject
weblogic.rmi.server.RemoteServer
weblogic.rmi.server.UnicastRemoteObject
public class UnicastRemoteObject
This class is provided strictly for compatibility with java.rmi.*
package.
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 |
---|
protected UnicastRemoteObject()
Method Detail |
---|
public static Remote exportObject(Remote obj) throws RemoteException
obj
- the remote object to be exported.
RemoteException
- if the export fails.public static boolean unexportObject(Object obj, boolean force) throws NoSuchObjectException
true
, the object is removed
even if there are pending calls to the remote object or if the
remote object has calls in progress.false
, the object is removed only if there are
no pending or in progress calls to the object.
obj
- the remote object to be removed.force
- if true
, removes the object even if there are
pending or in-progress calls; if false
, removes the object
if there are no pending or in-progress calls.
NoSuchObjectException
- if the remote object is not
exported.public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
- if the clone failed due to
a RemoteException.
|
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.5) Part Number E13941-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |