-
public interface UtilDelegate
Supports delegation for method implementations inUtil
. The delegate is a singleton instance of a class that implements this interface and provides a replacement implementation for all the methods ofjavax.rmi.CORBA.Util
. Delegation is enabled by providing the delegate's class name as the value of thejavax.rmi.CORBA.UtilClass
system property.- See Also:
Util
-
-
Method Summary
-
-
-
Method Detail
-
mapSystemException
RemoteException mapSystemException(SystemException ex)
Delegation call forUtil.mapSystemException(org.omg.CORBA.SystemException)
.
-
writeAny
void writeAny(OutputStream out, Object obj)
Delegation call forUtil.writeAny(org.omg.CORBA.portable.OutputStream, java.lang.Object)
.
-
readAny
Object readAny(InputStream in)
Delegation call forUtil.readAny(org.omg.CORBA.portable.InputStream)
.
-
writeRemoteObject
void writeRemoteObject(OutputStream out, Object obj)
Delegation call forUtil.writeRemoteObject(org.omg.CORBA.portable.OutputStream, java.lang.Object)
.
-
writeAbstractObject
void writeAbstractObject(OutputStream out, Object obj)
Delegation call forUtil.writeAbstractObject(org.omg.CORBA.portable.OutputStream, java.lang.Object)
.
-
registerTarget
void registerTarget(Tie tie, Remote target)
Delegation call forUtil.registerTarget(javax.rmi.CORBA.Tie, java.rmi.Remote)
.
-
unexportObject
void unexportObject(Remote target) throws NoSuchObjectException
Delegation call forUtil.unexportObject(java.rmi.Remote)
.- Throws:
NoSuchObjectException
-
getTie
Tie getTie(Remote target)
Delegation call forUtil.getTie(java.rmi.Remote)
.
-
createValueHandler
ValueHandler createValueHandler()
Delegation call forUtil.createValueHandler()
.
-
getCodebase
String getCodebase(Class clz)
Delegation call forUtil.getCodebase(java.lang.Class)
.
-
loadClass
Class loadClass(String className, String remoteCodebase, ClassLoader loader) throws ClassNotFoundException
Delegation call forUtil.loadClass(java.lang.String, java.lang.String, java.lang.ClassLoader)
.- Throws:
ClassNotFoundException
-
isLocal
boolean isLocal(Stub stub) throws RemoteException
Delegation call forUtil.isLocal(javax.rmi.CORBA.Stub)
.- Throws:
RemoteException
-
wrapException
RemoteException wrapException(Throwable obj)
Delegation call forUtil.wrapException(java.lang.Throwable)
.
-
copyObject
Object copyObject(Object obj, ORB orb) throws RemoteException
Delegation call forUtil.copyObject(java.lang.Object, org.omg.CORBA.ORB)
.- Throws:
RemoteException
-
copyObjects
Object[] copyObjects(Object[] obj, ORB orb) throws RemoteException
Delegation call forUtil.copyObjects(java.lang.Object[], org.omg.CORBA.ORB)
.- 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/UtilDelegate.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.