|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas.common.JNDIUtils
public class JNDIUtils
JNDIUtils groups all commonly used methods for JNDI.
Method Summary | |
---|---|
static byte[] |
getBytesFromObject(Object obj)
Return an array of byte from a given object |
static byte[] |
getBytesFromObject(Object obj,
org.objectweb.util.monolog.api.Logger logger)
Return an array of byte from a given object |
static Object |
getObjectFromBytes(byte[] bytes)
Return an object from an array of bytes. |
static Object |
getObjectFromBytes(byte[] bytes,
org.objectweb.util.monolog.api.Logger logger)
Return an object from an array of bytes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static byte[] getBytesFromObject(Object obj)
obj
- the object from which we must extract the bytes.
public static byte[] getBytesFromObject(Object obj, org.objectweb.util.monolog.api.Logger logger)
obj
- the object from which we must extract the bytes.logger
- logger to log exceptions
public static Object getObjectFromBytes(byte[] bytes)
bytes
- an array of bytes
public static Object getObjectFromBytes(byte[] bytes, org.objectweb.util.monolog.api.Logger logger)
bytes
- an array of byteslogger
- logger to log exceptions
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |