public class ValueHandler extends Object
Modifier and Type | Field and Description |
---|---|
static byte |
STREAM_FORMAT_VERSION_1 |
static byte |
STREAM_FORMAT_VERSION_2 |
Constructor and Description |
---|
ValueHandler() |
Modifier and Type | Method and Description |
---|---|
static String |
getCodebase(Class clz)
From javax.rmi.CORBA.Util.
|
static byte |
getMaximumStreamFormatVersion(OutputStream out) |
static String |
getRMIRepositoryID(Class clz) |
static RunTime |
getRunTimeCodeBase() |
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 Serializable |
readValue(InputStream in,
int offset,
Class clz,
String repositoryID,
RunTime sender) |
static Serializable |
writeReplace(Serializable value) |
static void |
writeValue(OutputStream out,
Serializable value) |
public static final byte STREAM_FORMAT_VERSION_1
public static final byte STREAM_FORMAT_VERSION_2
public static RunTime getRunTimeCodeBase()
public static Serializable readValue(InputStream in, int offset, Class clz, String repositoryID, RunTime sender)
public static void writeValue(OutputStream out, Serializable value)
public static boolean isCustomMarshaled(Class clz)
public static Serializable writeReplace(Serializable value)
public static Class loadClass(String className, String remoteCodebase, ClassLoader loader) throws ClassNotFoundException
ClassNotFoundException
public static Object portableRemoteObject_narrow(Object narrowFrom, Class narrowTo) throws ClassCastException
ClassCastException
public static byte getMaximumStreamFormatVersion(OutputStream out)
Copyright © 2017 JacORB. All rights reserved.