javax.rmi.CORBA
Interface UtilDelegate
-
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
-
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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.