-
public interface PortableRemoteObjectDelegateSupports delegation for method implementations inPortableRemoteObject. The delegate is a singleton instance of a class that implements this interface and provides a replacement implementation for all the methods ofjavax.rmi.PortableRemoteObject. Delegates are enabled by providing the delegate's class name as the value of thejavax.rmi.CORBA.PortableRemoteObjectClasssystem property.- See Also:
PortableRemoteObject
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconnect(Remote target, Remote source)Delegation call forPortableRemoteObject.connect(java.rmi.Remote, java.rmi.Remote).voidexportObject(Remote obj)Delegation call forPortableRemoteObject.exportObject(java.rmi.Remote).Objectnarrow(Object narrowFrom, Class narrowTo)Delegation call forPortableRemoteObject.narrow(java.lang.Object, java.lang.Class).RemotetoStub(Remote obj)Delegation call forPortableRemoteObject.toStub(java.rmi.Remote).voidunexportObject(Remote obj)Delegation call forPortableRemoteObject.unexportObject(java.rmi.Remote).
-
-
-
Method Detail
-
exportObject
void exportObject(Remote obj) throws RemoteException
Delegation call forPortableRemoteObject.exportObject(java.rmi.Remote).- Throws:
RemoteException
-
toStub
Remote toStub(Remote obj) throws NoSuchObjectException
Delegation call forPortableRemoteObject.toStub(java.rmi.Remote).- Throws:
NoSuchObjectException
-
unexportObject
void unexportObject(Remote obj) throws NoSuchObjectException
Delegation call forPortableRemoteObject.unexportObject(java.rmi.Remote).- Throws:
NoSuchObjectException
-
narrow
Object narrow(Object narrowFrom, Class narrowTo) throws ClassCastException
Delegation call forPortableRemoteObject.narrow(java.lang.Object, java.lang.Class).- Throws:
ClassCastException
-
connect
void connect(Remote target, Remote source) throws RemoteException
Delegation call forPortableRemoteObject.connect(java.rmi.Remote, java.rmi.Remote).- Throws:
RemoteException
-
-