public interface PortableRemoteObjectDelegate
PortableRemoteObject. The delegate is a singleton instance of a class that implements this interface and provides a replacement implementation for all the methods of
javax.rmi.PortableRemoteObject. Delegates are enabled by providing the delegate's class name as the value of the
javax.rmi.CORBA.PortableRemoteObjectClass system property.
PortableRemoteObject
| Modifier and Type | Method and Description |
|---|---|
void |
connect(Remote
Delegation call for
PortableRemoteObject.
|
void |
exportObject(Remote
Delegation call for
PortableRemoteObject.
|
Object |
narrow(Object
Delegation call for
PortableRemoteObject.
|
Remote |
toStub(Remote
Delegation call for
PortableRemoteObject.
|
void |
unexportObject(Remote
Delegation call for
PortableRemoteObject.
|
void exportObject(Remoteobj) throws RemoteException
PortableRemoteObject.exportObject(java.rmi.Remote) .
RemoteException
RemotetoStub(Remote obj) throws NoSuchObjectException
PortableRemoteObject.toStub(java.rmi.Remote) .
NoSuchObjectException
void unexportObject(Remoteobj) throws NoSuchObjectException
PortableRemoteObject.unexportObject(java.rmi.Remote) .
NoSuchObjectException
Objectnarrow(Object narrowFrom, Class narrowTo) throws ClassCastException
PortableRemoteObject.narrow(java.lang.Object, java.lang.Class) .
ClassCastException
void connect(Remotetarget, Remote source) throws RemoteException
PortableRemoteObject.connect(java.rmi.Remote, java.rmi.Remote) .
RemoteException