org.jacorb.util
Class ValueHandler
java.lang.Object
org.jacorb.util.ValueHandler
public class ValueHandler
extends java.lang.Object
A static wrapper around classes in javax.rmi, dummy version.
All parameters of type org.omg.SendingContext.RunTime have been
deliberately upcast here, because that interface does not exist in
JDK 1.2.
getCodebase
public static String getCodebase(Class clz)
From javax.rmi.CORBA.Util.
getRMIRepositoryID
public static String getRMIRepositoryID(Class clz)
getRunTimeCodeBase
public static IDLEntity getRunTimeCodeBase()
Return value upcast; see class comment.
isCustomMarshaled
public static boolean isCustomMarshaled(Class clz)
loadClass
public static Class loadClass(String className,
String remoteCodebase,
ClassLoader loader)
throws ClassNotFoundException
From javax.rmi.CORBA.Util.
portableRemoteObject_narrow
public static Object portableRemoteObject_narrow(Object narrowFrom,
Class narrowTo)
throws ClassCastException
From javax.rmi.PortableRemoteObject.
readValue
public static java.io.Serializable readValue(InputStream in,
int offset,
Class clz,
String repositoryID,
IDLEntity sender)
sender
- upcast; see class comment.
writeReplace
public static java.io.Serializable writeReplace(java.io.Serializable value)
writeValue
public static void writeValue(OutputStream out,
java.io.Serializable value)