public interface UtilDelegate
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)
Util.mapSystemException(org.omg.CORBA.SystemException)
.void writeAny(OutputStream out, Object obj)
Util.writeAny(org.omg.CORBA.portable.OutputStream, java.lang.Object)
.Object readAny(InputStream in)
Util.readAny(org.omg.CORBA.portable.InputStream)
.void writeRemoteObject(OutputStream out, Object obj)
Util.writeRemoteObject(org.omg.CORBA.portable.OutputStream, java.lang.Object)
.void writeAbstractObject(OutputStream out, Object obj)
Util.writeAbstractObject(org.omg.CORBA.portable.OutputStream, java.lang.Object)
.void registerTarget(Tie tie, Remote target)
Util.registerTarget(javax.rmi.CORBA.Tie, java.rmi.Remote)
.void unexportObject(Remote target) throws NoSuchObjectException
Util.unexportObject(java.rmi.Remote)
.NoSuchObjectException
Tie getTie(Remote target)
Util.getTie(java.rmi.Remote)
.ValueHandler createValueHandler()
Util.createValueHandler()
.String getCodebase(Class clz)
Util.getCodebase(java.lang.Class)
.Class loadClass(String className, String remoteCodebase, ClassLoader loader) throws ClassNotFoundException
Util.loadClass(java.lang.String, java.lang.String, java.lang.ClassLoader)
.ClassNotFoundException
boolean isLocal(Stub stub) throws RemoteException
Util.isLocal(javax.rmi.CORBA.Stub)
.RemoteException
RemoteException wrapException(Throwable obj)
Util.wrapException(java.lang.Throwable)
.Object copyObject(Object obj, ORB orb) throws RemoteException
Util.copyObject(java.lang.Object, org.omg.CORBA.ORB)
.RemoteException
Object[] copyObjects(Object[] obj, ORB orb) throws RemoteException
Util.copyObjects(java.lang.Object[], org.omg.CORBA.ORB)
.RemoteException
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.