| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortableRemoteObjectDelegate
Supports delegation for method implementations in {@link javax.rmi.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.
Method Summary | |
---|---|
void |
Delegation call for javax.rmi.PortableRemoteObject.connect. |
void |
exportObject(Remote obj) Delegation call for javax.rmi.PortableRemoteObject.exportObject. |
Object |
Delegation call for javax.rmi.PortableRemoteObject.narrow. |
Remote |
Delegation call for javax.rmi.PortableRemoteObject.toStub. |
void |
unexportObject(Remote obj) Delegation call for javax.rmi.PortableRemoteObject.unexportObject. |
Method Detail |
---|
public void connect(Remote target, Remote source) throws RemoteException
target
source
RemoteException
public void exportObject(Remote obj) throws RemoteException
obj
RemoteException
public Object narrow(Object narrowFrom, Class narrowTo) throws ClassCastException
narrowFrom
narrowTo
ClassCastException
public Remote toStub(Remote obj) throws NoSuchObjectException
obj
NoSuchObjectException
public void unexportObject(Remote obj) throws NoSuchObjectException
obj
NoSuchObjectException
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |