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.
PortableRemoteObjectvoid exportObject(Remote obj)
throws RemoteException Delegation call for PortableRemoteObject.exportObject(java.rmi.Remote).
RemoteExceptionRemote toStub(Remote obj)
throws NoSuchObjectException Delegation call for PortableRemoteObject.toStub(java.rmi.Remote).
NoSuchObjectExceptionvoid unexportObject(Remote obj)
throws NoSuchObjectException Delegation call for PortableRemoteObject.unexportObject(java.rmi.Remote).
NoSuchObjectExceptionObject narrow(Object narrowFrom,
Class narrowTo)
throws ClassCastException Delegation call for PortableRemoteObject.narrow(java.lang.Object, java.lang.Class).
ClassCastExceptionvoid connect(Remote target,
Remote source)
throws RemoteException Delegation call for PortableRemoteObject.connect(java.rmi.Remote, java.rmi.Remote).
RemoteException
© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.