| java.lang.Object org.jboss.util.Conversion
Method Summary | |
public static byte[] | toByteArray(Object obj) Receives an object and converts it into a byte array. | public static Object | toObject(byte[] a, ClassLoader cl) Receives a classloader and a byte array previously returned by a call to
toByteArray and retrieves an object from it. | public static Object | toObject(byte[] a) Receives a byte array previously returned by a call to
toByteArray and retrieves an object from it. |
toByteArray | public static byte[] toByteArray(Object obj)(Code) | | Receives an object and converts it into a byte array. Used to embed
a JBoss oid into the "reference data" (object id) field of a CORBA
reference.
|
toObject | public static Object toObject(byte[] a, ClassLoader cl) throws IOException, ClassNotFoundException(Code) | | Receives a classloader and a byte array previously returned by a call to
toByteArray and retrieves an object from it. Used to
extract a JBoss oid from the "reference data" (object id) field of a
CORBA reference.
|
toObject | public static Object toObject(byte[] a) throws IOException, ClassNotFoundException(Code) | | Receives a byte array previously returned by a call to
toByteArray and retrieves an object from it. Used to
extract a JBoss oid from the "reference data" (object id) field of a
CORBA reference.
|
|
|