org.jacorb.util

Class 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.

Method Summary

static String
getCodebase(Class clz)
From javax.rmi.CORBA.Util.
static String
getRMIRepositoryID(Class clz)
static IDLEntity
getRunTimeCodeBase()
Return value upcast; see class comment.
static boolean
isCustomMarshaled(Class clz)
static Class
loadClass(String className, String remoteCodebase, ClassLoader loader)
From javax.rmi.CORBA.Util.
static Object
portableRemoteObject_narrow(Object narrowFrom, Class narrowTo)
From javax.rmi.PortableRemoteObject.
static java.io.Serializable
readValue(InputStream in, int offset, Class clz, String repositoryID, IDLEntity sender)
static java.io.Serializable
writeReplace(java.io.Serializable value)
static void
writeValue(OutputStream out, java.io.Serializable value)

Method Details

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)

Parameters:
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)