Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.cache.marshall
Class ObjectSerializationFactory

    java.lang.Object
      org.jboss.cache.marshall.ObjectSerializationFactory

    public class ObjectSerializationFactory

extends java.lang.Object

Factory class for creating object output and inut streams, switching between JDK defaults and JBoss Serialization classes.

Author:
  Manik Surtani (manik@jboss.org), Clebert Suconic

Constructor Summary
`ObjectSerializationFactory()`

Method Summary
`static java.io.ObjectInputStream` | `createObjectInputStream(byte[] bytes)`
`static java.io.ObjectOutputStream` | `createObjectOutputStream(java.io.OutputStream out)`
`static boolean` | `useJBossSerialization()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ObjectSerializationFactory

    public ObjectSerializationFactory()

Method Detail

### createObjectOutputStream

    public static java.io.ObjectOutputStream createObjectOutputStream(java.io.OutputStream out)
                                                               throws java.io.IOException

  Throws:
    `java.io.IOException`

### createObjectInputStream

    public static java.io.ObjectInputStream createObjectInputStream(byte[] bytes)
                                                             throws java.io.IOException

  Throws:
    `java.io.IOException`

### useJBossSerialization

    public static boolean useJBossSerialization()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 1998-2005 JBoss Inc . All Rights Reserved.