Package org.apache.myfaces.spi
Class SerialFactory
- java.lang.Object
- 
- org.apache.myfaces.spi.SerialFactory
 
- 
- Direct Known Subclasses:
- DefaultSerialFactory
 
 public abstract class SerialFactory extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description SerialFactory()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract ObjectInputStreamgetObjectInputStream(InputStream inputStream)protected abstract ObjectOutputStreamgetObjectOutputStream(OutputStream outputStream)byte[]toByteArray(Object object)ObjecttoObject(byte[] bytes)
 
- 
- 
- 
Method Detail- 
toByteArraypublic byte[] toByteArray(Object object) throws IOException - Throws:
- IOException
 
 - 
toObjectpublic Object toObject(byte[] bytes) throws IOException, PrivilegedActionException, ClassNotFoundException 
 - 
getObjectOutputStreamprotected abstract ObjectOutputStream getObjectOutputStream(OutputStream outputStream) throws IOException - Throws:
- IOException
 
 - 
getObjectInputStreamprotected abstract ObjectInputStream getObjectInputStream(InputStream inputStream) throws IOException - Throws:
- IOException
 
 
- 
 
-