org.apache.geronimo.corba.util
Class UtilDelegateImpl

java.lang.Object
  extended by org.apache.geronimo.corba.util.UtilDelegateImpl
All Implemented Interfaces:
UtilDelegate

public final class UtilDelegateImpl
extends Object
implements UtilDelegate


Constructor Summary
UtilDelegateImpl()
           
 
Method Summary
 Object copyObject(Object obj, ORB orb)
           
 Object[] copyObjects(Object[] obj, ORB orb)
           
 ValueHandler createValueHandler()
           
 String getCodebase(Class clz)
           
 Tie getTie(Remote target)
           
 boolean isLocal(Stub stub)
           
 Class loadClass(String className, String remoteCodebase, ClassLoader loader)
           
 RemoteException mapSystemException(SystemException ex)
           
 Object readAny(InputStream in)
           
 void registerTarget(Tie tie, Remote target)
           
 void unexportObject(Remote target)
           
 RemoteException wrapException(Throwable obj)
           
 void writeAbstractObject(OutputStream out, Object obj)
           
 void writeAny(OutputStream out, Object obj)
           
 void writeRemoteObject(OutputStream out, Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UtilDelegateImpl

public UtilDelegateImpl()
                 throws ClassNotFoundException,
                        IllegalAccessException,
                        InstantiationException
Throws:
ClassNotFoundException
IllegalAccessException
InstantiationException
Method Detail

unexportObject

public void unexportObject(Remote target)
                    throws NoSuchObjectException
Specified by:
unexportObject in interface UtilDelegate
Throws:
NoSuchObjectException

isLocal

public boolean isLocal(Stub stub)
                throws RemoteException
Specified by:
isLocal in interface UtilDelegate
Throws:
RemoteException

createValueHandler

public ValueHandler createValueHandler()
Specified by:
createValueHandler in interface UtilDelegate

readAny

public Object readAny(InputStream in)
Specified by:
readAny 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

getCodebase

public String getCodebase(Class clz)
Specified by:
getCodebase in interface UtilDelegate

registerTarget

public void registerTarget(Tie tie,
                           Remote target)
Specified by:
registerTarget in interface UtilDelegate

wrapException

public RemoteException wrapException(Throwable obj)
Specified by:
wrapException in interface UtilDelegate

mapSystemException

public RemoteException mapSystemException(SystemException ex)
Specified by:
mapSystemException in interface UtilDelegate

getTie

public Tie getTie(Remote target)
Specified by:
getTie in interface UtilDelegate

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

loadClass

public Class loadClass(String className,
                       String remoteCodebase,
                       ClassLoader loader)
                throws ClassNotFoundException
Specified by:
loadClass in interface UtilDelegate
Throws:
ClassNotFoundException


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.