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.UtilRemoteException mapSystemException(SystemException ex)
Util.mapSystemException(org.omg.CORBA.SystemException).ex - the SystemException to map.void writeAny(OutputStream out, Object obj)
Util.writeAny(org.omg.CORBA.portable.OutputStream, java.lang.Object).out - the stream in which to write the any.obj - the object to write as an any.Object readAny(InputStream in)
Util.readAny(org.omg.CORBA.portable.InputStream).in - the stream from which to read the any.void writeRemoteObject(OutputStream out, Object obj)
Util.writeRemoteObject(org.omg.CORBA.portable.OutputStream, java.lang.Object).out - the stream in which to write the object.obj - the object to write.void writeAbstractObject(OutputStream out, Object obj)
Util.writeAbstractObject(org.omg.CORBA.portable.OutputStream, java.lang.Object).out - the stream in which to write the object.obj - the object to write.void registerTarget(Tie tie, Remote target)
Util.registerTarget(javax.rmi.CORBA.Tie, java.rmi.Remote).tie - tie to registertarget - target for the tievoid unexportObject(Remote target) throws NoSuchObjectException
Util.unexportObject(java.rmi.Remote).target - the object to unexportNoSuchObjectException - if the target object does not existTie getTie(Remote target)
Util.getTie(java.rmi.Remote).target - the object to get the tie forValueHandler createValueHandler()
Util.createValueHandler().String getCodebase(Class clz)
Util.getCodebase(java.lang.Class).clz - the class to get a codebase for.Class loadClass(String className, String remoteCodebase, ClassLoader loader) throws ClassNotFoundException
Util.loadClass(java.lang.String, java.lang.String, java.lang.ClassLoader).className - the name of the class.remoteCodebase - a space-separated list of URLs at which
the class might be found. May be null.loader - a ClassLoader that may be used to
load the class if all other methods fail.Class object representing the loaded class.ClassNotFoundException - if class cannot be loaded.boolean isLocal(Stub stub) throws RemoteException
Util.isLocal(javax.rmi.CORBA.Stub).stub - the stub to test.RemoteException - The Java to IDL specification does not
specify the conditions that cause a RemoteException to be thrown.RemoteException wrapException(Throwable obj)
Util.wrapException(java.lang.Throwable).obj - the exception to wrap.Object copyObject(Object obj, ORB orb) throws RemoteException
Util.copyObject(java.lang.Object, org.omg.CORBA.ORB).obj - the object to copy or connect.orb - the ORBRemoteException - if the object could not be copied or connected.Object[] copyObjects(Object[] obj, ORB orb) throws RemoteException
Util.copyObjects(java.lang.Object[], org.omg.CORBA.ORB).obj - the objects to copy or connect.orb - the ORBRemoteException - if the objects could not be copied or connected.Copyright © 2017–2021 Eclipse Foundation. All rights reserved.