|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas.common.JNDIUtils
public class JNDIUtils
JNDIUtils groups all commonly used methods for JNDI.
Method Summary | |
---|---|
static byte[] |
getBytesFromObject(java.lang.Object obj)
Return an array of byte from a given object |
static byte[] |
getBytesFromObject(java.lang.Object obj,
org.objectweb.util.monolog.api.Logger logger)
Return an array of byte from a given object |
static java.lang.Object |
getObjectFromBytes(byte[] bytes)
Return an object from an array of bytes. |
static java.lang.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(java.lang.Object obj)
obj
- the object from which we must extract the bytes.
public static byte[] getBytesFromObject(java.lang.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 java.lang.Object getObjectFromBytes(byte[] bytes)
bytes
- an array of bytes
public static java.lang.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 |