|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.util.Conversion
| Constructor Summary | |
Conversion()
|
|
| Method Summary | |
static byte[] |
toByteArray(java.lang.Object obj)
Receives an object and converts it into a byte array. |
static java.lang.Object |
toObject(byte[] a)
Receives a byte array previously returned by a call to toByteArray and retrieves an object from it. |
static java.lang.Object |
toObject(byte[] a,
java.lang.ClassLoader cl)
Receives a classloader and a byte array previously returned by a call to toByteArray and retrieves an object from it. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Conversion()
| Method Detail |
public static byte[] toByteArray(java.lang.Object obj)
public static java.lang.Object toObject(byte[] a,
java.lang.ClassLoader cl)
throws java.io.IOException,
java.lang.ClassNotFoundException
toByteArray and retrieves an object from it. Used to
extract a JBoss oid from the "reference data" (object id) field of a
CORBA reference.
java.io.IOException
java.lang.ClassNotFoundException
public static java.lang.Object toObject(byte[] a)
throws java.io.IOException,
java.lang.ClassNotFoundException
toByteArray and retrieves an object from it. Used to
extract a JBoss oid from the "reference data" (object id) field of a
CORBA reference.
java.io.IOException
java.lang.ClassNotFoundException
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||