org.jboss.iiop
Class JBossUtilDelegate
java.lang.Object
org.jboss.iiop.JBossUtilDelegate
- All Implemented Interfaces:
- UtilDelegate
public class JBossUtilDelegate
- extends Object
- implements UtilDelegate
An implementation of UtilDelegate that overrides
the loadClass(String, String, ClassLoader)
method to use the input
loader in preference to the ObjectInputStream#latestUserDefinedLoader.
Install by setting -Djavax.rmi.CORBA.UtilClass=org.jboss.iiop.JBossUtilDelegate
- Version:
- $Revision: 85945 $
- Author:
- Scott.Stark@jboss.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JBossUtilDelegate
public JBossUtilDelegate()
copyObject
public Object copyObject(Object obj,
ORB orb)
throws RemoteException
- Specified by:
copyObject
in interface UtilDelegate
- Throws:
RemoteException
copyObjects
public Object[] copyObjects(Object[] obj,
ORB orb)
throws RemoteException
- Specified by:
copyObjects
in interface UtilDelegate
- Throws:
RemoteException
createValueHandler
public ValueHandler createValueHandler()
- Specified by:
createValueHandler
in interface UtilDelegate
getCodebase
public String getCodebase(Class clz)
- Specified by:
getCodebase
in interface UtilDelegate
getTie
public Tie getTie(Remote target)
- Specified by:
getTie
in interface UtilDelegate
isLocal
public boolean isLocal(Stub stub)
throws RemoteException
- Specified by:
isLocal
in interface UtilDelegate
- Throws:
RemoteException
loadClass
public Class loadClass(String className,
String remoteCodebase,
ClassLoader loader)
throws ClassNotFoundException
- Specified by:
loadClass
in interface UtilDelegate
- Throws:
ClassNotFoundException
mapSystemException
public RemoteException mapSystemException(SystemException ex)
- Specified by:
mapSystemException
in interface UtilDelegate
readAny
public Object readAny(InputStream in)
- Specified by:
readAny
in interface UtilDelegate
registerTarget
public void registerTarget(Tie tie,
Remote target)
- Specified by:
registerTarget
in interface UtilDelegate
unexportObject
public void unexportObject(Remote target)
throws NoSuchObjectException
- Specified by:
unexportObject
in interface UtilDelegate
- Throws:
NoSuchObjectException
wrapException
public RemoteException wrapException(Throwable obj)
- Specified by:
wrapException
in interface UtilDelegate
writeAbstractObject
public void writeAbstractObject(OutputStream out,
Object obj)
- Specified by:
writeAbstractObject
in interface UtilDelegate
writeAny
public void writeAny(OutputStream out,
Object obj)
- Specified by:
writeAny
in interface UtilDelegate
writeRemoteObject
public void writeRemoteObject(OutputStream out,
Object obj)
- Specified by:
writeRemoteObject
in interface UtilDelegate
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.