|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.yoko.rmi.impl.UtilImpl
public class UtilImpl
Constructor Summary | |
---|---|
UtilImpl()
|
Method Summary | |
---|---|
Object |
copyObject(Object obj,
ORB orb)
Copy a single object, maintaining internal reference integrity. |
Object[] |
copyObjects(Object[] objs,
ORB orb)
Copy an array of objects, maintaining internal reference integrity. |
ValueHandler |
createValueHandler()
|
String |
getCodebase(Class clz)
|
Tie |
getTie(Remote obj)
|
boolean |
isLocal(Stub stub)
|
Class |
loadClass(String name,
String codebase,
ClassLoader loader)
|
static Class |
loadClass0(String name,
String codebase,
ClassLoader loader)
|
RemoteException |
mapSystemException(SystemException theException)
Translate a CORBA SystemException to the corresponding RemoteException |
Object |
readAny(InputStream in)
|
void |
registerTarget(Tie tie,
Remote obj)
|
protected Map |
tie_map()
|
void |
unexportObject(Remote obj)
|
RemoteException |
wrapException(Throwable ex)
|
void |
writeAbstractObject(OutputStream out,
Object obj)
|
void |
writeAny(OutputStream out,
Object obj)
Write an org.omg.CORBA.Any containing the given object. |
void |
writeRemoteObject(OutputStream out,
Object obj)
Write a remote object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UtilImpl()
Method Detail |
---|
public RemoteException mapSystemException(SystemException theException)
mapSystemException
in interface UtilDelegate
public void writeAny(OutputStream out, Object obj) throws SystemException
writeAny
in interface UtilDelegate
out
- The stream to which the value should be writtenobj
- The object/value to write
MARSHAL
- if the value cannot be written
SystemException
public Object readAny(InputStream in) throws SystemException
readAny
in interface UtilDelegate
SystemException
public void writeRemoteObject(OutputStream out, Object obj) throws SystemException
writeRemoteObject
in interface UtilDelegate
SystemException
public void writeAbstractObject(OutputStream out, Object obj)
writeAbstractObject
in interface UtilDelegate
protected Map tie_map()
public void registerTarget(Tie tie, Remote obj)
registerTarget
in interface UtilDelegate
public Tie getTie(Remote obj)
getTie
in interface UtilDelegate
public ValueHandler createValueHandler()
createValueHandler
in interface UtilDelegate
public String getCodebase(Class clz)
getCodebase
in interface UtilDelegate
public Class loadClass(String name, String codebase, ClassLoader loader) throws ClassNotFoundException
loadClass
in interface UtilDelegate
ClassNotFoundException
public static Class loadClass0(String name, String codebase, ClassLoader loader) throws ClassNotFoundException
ClassNotFoundException
public boolean isLocal(Stub stub) throws RemoteException
isLocal
in interface UtilDelegate
RemoteException
public RemoteException wrapException(Throwable ex)
wrapException
in interface UtilDelegate
public Object copyObject(Object obj, ORB orb) throws RemoteException
copyObject
in interface UtilDelegate
RemoteException
public Object[] copyObjects(Object[] objs, ORB orb) throws RemoteException
copyObjects
in interface UtilDelegate
RemoteException
public void unexportObject(Remote obj) throws NoSuchObjectException
unexportObject
in interface UtilDelegate
NoSuchObjectException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |