javax.rmi.CORBA
Interface UtilDelegate
- 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.
- See Also:
Util
Method Summary |
Object |
copyObject(Object obj,
ORB orb)
Delegation call for Util.copyObject(java.lang.Object, org.omg.CORBA.ORB) . |
Object[] |
copyObjects(Object[] obj,
ORB orb)
Delegation call for Util.copyObjects(java.lang.Object[], org.omg.CORBA.ORB) . |
ValueHandler |
createValueHandler()
Delegation call for Util.createValueHandler() . |
String |
getCodebase(Class clz)
Delegation call for Util.getCodebase(java.lang.Class) . |
Tie |
getTie(Remote target)
Delegation call for Util.getTie(java.rmi.Remote) . |
boolean |
isLocal(Stub stub)
Delegation call for Util.isLocal(javax.rmi.CORBA.Stub) . |
Class |
loadClass(String className,
String remoteCodebase,
Class loadingContext)
Delegation call for Util.loadClass(java.lang.String, java.lang.String, java.lang.Class) . |
RemoteException |
mapSystemException(SystemException ex)
Delegation call for Util.mapSystemException(org.omg.CORBA.SystemException) . |
Object |
readAny(InputStream in)
Delegation call for Util.readAny(org.omg.CORBA.portable.InputStream) . |
void |
registerTarget(Tie tie,
Remote target)
Delegation call for Util.registerTarget(javax.rmi.CORBA.Tie, java.rmi.Remote) . |
void |
unexportObject(Remote target)
Delegation call for Util.unexportObject(java.rmi.Remote) . |
RemoteException |
wrapException(Throwable obj)
Delegation call for Util.wrapException(java.lang.Throwable) . |
void |
writeAbstractObject(OutputStream out,
Object obj)
Delegation call for Util.writeAbstractObject(org.omg.CORBA.portable.OutputStream, java.lang.Object) . |
void |
writeAny(OutputStream out,
Object obj)
Delegation call for Util.writeAny(org.omg.CORBA.portable.OutputStream, java.lang.Object) . |
void |
writeRemoteObject(OutputStream out,
Object obj)
Delegation call for Util.writeRemoteObject(org.omg.CORBA.portable.OutputStream, java.lang.Object) . |
mapSystemException
public RemoteException mapSystemException(SystemException ex)
- Delegation call for
Util.mapSystemException(org.omg.CORBA.SystemException)
.
writeAny
public void writeAny(OutputStream out,
Object obj)
- Delegation call for
Util.writeAny(org.omg.CORBA.portable.OutputStream, java.lang.Object)
.
readAny
public Object readAny(InputStream in)
- Delegation call for
Util.readAny(org.omg.CORBA.portable.InputStream)
.
writeRemoteObject
public void writeRemoteObject(OutputStream out,
Object obj)
- Delegation call for
Util.writeRemoteObject(org.omg.CORBA.portable.OutputStream, java.lang.Object)
.
writeAbstractObject
public void writeAbstractObject(OutputStream out,
Object obj)
- Delegation call for
Util.writeAbstractObject(org.omg.CORBA.portable.OutputStream, java.lang.Object)
.
registerTarget
public void registerTarget(Tie tie,
Remote target)
- Delegation call for
Util.registerTarget(javax.rmi.CORBA.Tie, java.rmi.Remote)
.
unexportObject
public void unexportObject(Remote target)
- Delegation call for
Util.unexportObject(java.rmi.Remote)
.
getTie
public Tie getTie(Remote target)
- Delegation call for
Util.getTie(java.rmi.Remote)
.
createValueHandler
public ValueHandler createValueHandler()
- Delegation call for
Util.createValueHandler()
.
getCodebase
public String getCodebase(Class clz)
- Delegation call for
Util.getCodebase(java.lang.Class)
.
loadClass
public Class loadClass(String className,
String remoteCodebase,
Class loadingContext)
throws ClassNotFoundException
- Delegation call for
Util.loadClass(java.lang.String, java.lang.String, java.lang.Class)
.
isLocal
public boolean isLocal(Stub stub)
throws RemoteException
- Delegation call for
Util.isLocal(javax.rmi.CORBA.Stub)
.
wrapException
public RemoteException wrapException(Throwable obj)
- Delegation call for
Util.wrapException(java.lang.Throwable)
.
copyObject
public Object copyObject(Object obj,
ORB orb)
throws RemoteException
- Delegation call for
Util.copyObject(java.lang.Object, org.omg.CORBA.ORB)
.
copyObjects
public Object[] copyObjects(Object[] obj,
ORB orb)
throws RemoteException
- Delegation call for
Util.copyObjects(java.lang.Object[], org.omg.CORBA.ORB)
.