org.jboss.remoting.serialization.impl.java
Class JavaSerializationManager
java.lang.Object
org.jboss.remoting.serialization.SerializationManager
org.jboss.remoting.serialization.impl.java.JavaSerializationManager
- Direct Known Subclasses:
- JavaEncryptionSerializationManager
public class JavaSerializationManager
- extends SerializationManager
$Id: JavaSerializationManager.java 5281 2009-05-19 20:52:23Z ron.sigal@jboss.com $
- Author:
- Clebert Suconic
Field Summary |
protected static org.jboss.logging.Logger |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.jboss.logging.Logger log
JavaSerializationManager
public JavaSerializationManager()
createInput
public java.io.ObjectInputStream createInput(java.io.InputStream input,
java.lang.ClassLoader loader)
throws java.io.IOException
- Specified by:
createInput
in class SerializationManager
- Throws:
java.io.IOException
createOutput
public java.io.ObjectOutputStream createOutput(java.io.OutputStream output)
throws java.io.IOException
- Specified by:
createOutput
in class SerializationManager
- Throws:
java.io.IOException
createdMarshalledValue
public IMarshalledValue createdMarshalledValue(java.lang.Object source)
throws java.io.IOException
- Creates a MarshalledValue that does lazy serialization.
- Specified by:
createdMarshalledValue
in class SerializationManager
- Throws:
java.io.IOException
createMarshalledValueForClone
public IMarshalledValue createMarshalledValueForClone(java.lang.Object original)
throws java.io.IOException
- Description copied from class:
SerializationManager
- Used in call by value operations.
This will use the most effective way
- Specified by:
createMarshalledValueForClone
in class SerializationManager
- Throws:
java.io.IOException
sendObject
public void sendObject(java.io.ObjectOutputStream oos,
java.lang.Object dataObject,
int version)
throws java.io.IOException
- Specified by:
sendObject
in class SerializationManager
- Throws:
java.io.IOException
sendObjectVersion1_2
protected void sendObjectVersion1_2(java.io.ObjectOutputStream oos,
java.lang.Object dataObject)
throws java.io.IOException
- Throws:
java.io.IOException
sendObjectVersion2_2
protected void sendObjectVersion2_2(java.io.ObjectOutputStream oos,
java.lang.Object dataObject)
throws java.io.IOException
- Throws:
java.io.IOException
receiveObject
public java.lang.Object receiveObject(java.io.InputStream inputStream,
java.lang.ClassLoader customClassLoader,
int version)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
receiveObject
in class SerializationManager
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
receiveObjectVersion1_2
protected java.lang.Object receiveObjectVersion1_2(java.io.InputStream inputStream,
java.lang.ClassLoader customClassLoader)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
receiveObjectVersion2_2
protected java.lang.Object receiveObjectVersion2_2(java.io.InputStream inputStream,
java.lang.ClassLoader customClassLoader)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
Copyright © 1998-2005 JBoss Inc . All Rights Reserved.