Package org.apache.myfaces.spi
Class SerialFactory
java.lang.Object
org.apache.myfaces.spi.SerialFactory
- Direct Known Subclasses:
DefaultSerialFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ObjectInputStreamgetObjectInputStream(InputStream inputStream) protected abstract ObjectOutputStreamgetObjectOutputStream(OutputStream outputStream) byte[]toByteArray(Object object) toObject(byte[] bytes)
-
Constructor Details
-
SerialFactory
public SerialFactory()
-
-
Method Details
-
toByteArray
- Throws:
IOException
-
toObject
public Object toObject(byte[] bytes) throws IOException, PrivilegedActionException, ClassNotFoundException -
getObjectOutputStream
protected abstract ObjectOutputStream getObjectOutputStream(OutputStream outputStream) throws IOException - Throws:
IOException
-
getObjectInputStream
protected abstract ObjectInputStream getObjectInputStream(InputStream inputStream) throws IOException - Throws:
IOException
-