org.jboss.cache.marshall
Class ObjectSerializationFactory
java.lang.Object
org.jboss.cache.marshall.ObjectSerializationFactory
public class ObjectSerializationFactory
- extends Object
Factory class for creating object output and inut streams, to allow for multiple mechanisms of serialization.
Java serialization is the only supported mechanism at this point.
- Author:
- Manik Surtani (manik@jboss.org), Clebert Suconic, Galder Zamarreno
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectSerializationFactory
public ObjectSerializationFactory()
createObjectOutputStream
public static ObjectOutputStream createObjectOutputStream(OutputStream out)
throws IOException
- Throws:
IOException
createObjectInputStream
public static ObjectInputStream createObjectInputStream(byte[] bytes)
throws IOException
- Throws:
IOException
createObjectInputStream
public static ObjectInputStream createObjectInputStream(InputStream in)
throws IOException
- Throws:
IOException
Copyright © 2007 JBoss, a division of Red Hat. All Rights Reserved.