Package javax.rmi.CORBA
Interface PortableRemoteObjectDelegate
- All Known Implementing Classes:
PortableRemoteObject
public interface PortableRemoteObjectDelegate
Supports delegation for method implementations in
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.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidDelegation call forPortableRemoteObject.connect(java.rmi.Remote, java.rmi.Remote).voidexportObject(Remote obj) Delegation call forPortableRemoteObject.exportObject(java.rmi.Remote).Delegation call forPortableRemoteObject.narrow(java.lang.Object, java.lang.Class).Delegation call forPortableRemoteObject.toStub(java.rmi.Remote).voidunexportObject(Remote obj) Delegation call forPortableRemoteObject.unexportObject(java.rmi.Remote).
-
Method Details
-
exportObject
Delegation call forPortableRemoteObject.exportObject(java.rmi.Remote).- Throws:
RemoteException
-
toStub
Delegation call forPortableRemoteObject.toStub(java.rmi.Remote).- Throws:
NoSuchObjectException
-
unexportObject
Delegation call forPortableRemoteObject.unexportObject(java.rmi.Remote).- Throws:
NoSuchObjectException
-
narrow
Delegation call forPortableRemoteObject.narrow(java.lang.Object, java.lang.Class).- Throws:
ClassCastException
-
connect
Delegation call forPortableRemoteObject.connect(java.rmi.Remote, java.rmi.Remote).- Throws:
RemoteException
-