public class RemoteObject
extends java.lang.Object
implements java.rmi.Remote, java.rmi.server.Unreferenced
Constructor and Description |
---|
RemoteObject() |
Modifier and Type | Method and Description |
---|---|
<T extends java.rmi.Remote> |
export(T child) |
<T extends java.rmi.Remote> |
export2(T child) |
protected java.lang.Iterable<RemoteObject> |
getExportedChildren() |
java.lang.ref.WeakReference<RemoteObject> |
getWeakRef() |
protected boolean |
isKnownException(java.lang.Throwable ex) |
void |
unexportChildren() |
void |
unexportChildren(java.util.Collection<? extends java.lang.ref.WeakReference<RemoteObject>> children) |
void |
unreferenced() |
java.lang.Throwable |
wrapException(java.lang.Throwable ex) |
public java.lang.ref.WeakReference<RemoteObject> getWeakRef()
public <T extends java.rmi.Remote> T export(T child) throws java.rmi.RemoteException
java.rmi.RemoteException
public <T extends java.rmi.Remote> T export2(T child) throws java.rmi.RemoteException
java.rmi.RemoteException
public void unexportChildren() throws java.rmi.RemoteException
java.rmi.RemoteException
public void unexportChildren(java.util.Collection<? extends java.lang.ref.WeakReference<RemoteObject>> children) throws java.rmi.RemoteException
java.rmi.RemoteException
public void unreferenced()
unreferenced
in interface java.rmi.server.Unreferenced
public java.lang.Throwable wrapException(java.lang.Throwable ex)
protected boolean isKnownException(java.lang.Throwable ex)
protected java.lang.Iterable<RemoteObject> getExportedChildren()