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 target,
Remote source)
Delegation call for
PortableRemoteObject.connect(java.rmi.Remote, java.rmi.Remote). |
void |
exportObject(Remote obj)
Delegation call for
PortableRemoteObject.exportObject(java.rmi.Remote). |
Object |
narrow(Object narrowFrom,
Class narrowTo)
Delegation call for
PortableRemoteObject.narrow(java.lang.Object, java.lang.Class). |
Remote |
toStub(Remote obj)
Delegation call for
PortableRemoteObject.toStub(java.rmi.Remote). |
void |
unexportObject(Remote obj)
Delegation call for
PortableRemoteObject.unexportObject(java.rmi.Remote). |
void exportObject(Remote obj) throws RemoteException
PortableRemoteObject.exportObject(java.rmi.Remote).obj - object to exportRemoteException - if the object cannot be exportedRemote toStub(Remote obj) throws NoSuchObjectException
PortableRemoteObject.toStub(java.rmi.Remote).obj - remote to convert to stubNoSuchObjectException - if the object does not existvoid unexportObject(Remote obj) throws NoSuchObjectException
PortableRemoteObject.unexportObject(java.rmi.Remote).obj - object to unremoveNoSuchObjectException - if the object does not existObject narrow(Object narrowFrom, Class narrowTo) throws ClassCastException
PortableRemoteObject.narrow(java.lang.Object, java.lang.Class).narrowFrom - object to narrow fromnarrowTo - target to narrow toClassCastException - if the object cannot be narrowedvoid connect(Remote target, Remote source) throws RemoteException
PortableRemoteObject.connect(java.rmi.Remote, java.rmi.Remote).target - remote object to connectsource - starting objectRemoteException - if an error occurred connectingCopyright © 2017–2021 Eclipse Foundation. All rights reserved.