org.openejb.spi
Class Serializer

java.lang.Object
  |
  +--org.openejb.spi.Serializer

public class Serializer
extends java.lang.Object


Constructor Summary
Serializer()
           
 
Method Summary
static java.lang.Object deserialize(byte[] bytes)
           
static byte[] serialize(java.lang.Object object)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Serializer

public Serializer()
Method Detail

deserialize

public static java.lang.Object deserialize(byte[] bytes)
                                    throws java.io.IOException,
                                           java.lang.ClassNotFoundException

serialize

public static byte[] serialize(java.lang.Object object)
                        throws java.io.IOException