public interface UtilDelegate
Supports delegation for method implementations in Util
. 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.CORBA.Util
. Delegation is enabled by providing the delegate's class name as the value of the javax.rmi.CORBA.UtilClass
system property.
Util
RemoteException mapSystemException(SystemException ex)
Delegation call for Util.mapSystemException(org.omg.CORBA.SystemException)
.
void writeAny(OutputStream out, Object obj)
Delegation call for Util.writeAny(org.omg.CORBA.portable.OutputStream, java.lang.Object)
.
Object readAny(InputStream in)
Delegation call for Util.readAny(org.omg.CORBA.portable.InputStream)
.
void writeRemoteObject(OutputStream out, Object obj)
Delegation call for Util.writeRemoteObject(org.omg.CORBA.portable.OutputStream, java.lang.Object)
.
void writeAbstractObject(OutputStream out, Object obj)
Delegation call for Util.writeAbstractObject(org.omg.CORBA.portable.OutputStream, java.lang.Object)
.
void registerTarget(Tie tie, Remote target)
Delegation call for Util.registerTarget(javax.rmi.CORBA.Tie, java.rmi.Remote)
.
void unexportObject(Remote target) throws NoSuchObjectException
Delegation call for Util.unexportObject(java.rmi.Remote)
.
NoSuchObjectException
Tie getTie(Remote target)
Delegation call for Util.getTie(java.rmi.Remote)
.
ValueHandler createValueHandler()
Delegation call for Util.createValueHandler()
.
String getCodebase(Class clz)
Delegation call for Util.getCodebase(java.lang.Class)
.
Class loadClass(String className, String remoteCodebase, ClassLoader loader) throws ClassNotFoundException
Delegation call for Util.loadClass(java.lang.String, java.lang.String, java.lang.ClassLoader)
.
ClassNotFoundException
boolean isLocal(Stub stub) throws RemoteException
Delegation call for Util.isLocal(javax.rmi.CORBA.Stub)
.
RemoteException
RemoteException wrapException(Throwable obj)
Delegation call for Util.wrapException(java.lang.Throwable)
.
Object copyObject(Object obj, ORB orb) throws RemoteException
Delegation call for Util.copyObject(java.lang.Object, org.omg.CORBA.ORB)
.
RemoteException
Object[] copyObjects(Object[] obj, ORB orb) throws RemoteException
Delegation call for Util.copyObjects(java.lang.Object[], org.omg.CORBA.ORB)
.
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.