org.ofbiz.base.util.cache
Class JdbmSerializer

java.lang.Object
  extended by org.ofbiz.base.util.cache.JdbmSerializer

public class JdbmSerializer
extends java.lang.Object

JDBC Serializer which uses OFBiz internal serialization (needed do to the fact that we do dynamic class loading)


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

Constructor Detail

JdbmSerializer

public JdbmSerializer()
Method Detail

serialize

public byte[] serialize(java.lang.Object o)
                 throws java.io.IOException
Throws:
java.io.IOException

deserialize

public java.lang.Object deserialize(byte[] bytes)
                             throws java.io.IOException
Throws:
java.io.IOException