-
public interface PortableRemoteObjectDelegate
Supports 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.PortableRemoteObjectClass
system property.- See Also:
PortableRemoteObject
-
-
Method Summary
Methods Modifier and Type Method and Description void
connect(Remote target, Remote source)
Delegation call forPortableRemoteObject.connect(java.rmi.Remote, java.rmi.Remote)
.void
exportObject(Remote obj)
Delegation call forPortableRemoteObject.exportObject(java.rmi.Remote)
.Object
narrow(Object narrowFrom, Class narrowTo)
Delegation call forPortableRemoteObject.narrow(java.lang.Object, java.lang.Class)
.Remote
toStub(Remote obj)
Delegation call forPortableRemoteObject.toStub(java.rmi.Remote)
.void
unexportObject(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
-
-
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-javax/rmi/corba/portableremoteobjectdelegate.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.