org.jboss.remoting.marshal.serializable
Class SerializableMarshaller

java.lang.Object
  extended byorg.jboss.remoting.marshal.serializable.SerializableMarshaller
All Implemented Interfaces:
Marshaller (src) , java.io.Serializable
Direct Known Subclasses:
HTTPMarshaller (src)

public class SerializableMarshaller
extends java.lang.Object
implements Marshaller (src)

Simple marshaller that simply serializes java objects using standard output stream.

See Also:
Serialized Form

Field Summary
static java.lang.String DATATYPE
           
 
Constructor Summary
SerializableMarshaller()
           
 
Method Summary
 void write(java.lang.Object dataObject, java.io.OutputStream output)
          Take the data object and write to the output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATATYPE

public static final java.lang.String DATATYPE
See Also:
Constant Field Values (src)
Constructor Detail

SerializableMarshaller

public SerializableMarshaller()
Method Detail

write

public void write(java.lang.Object dataObject,
                  java.io.OutputStream output)
           throws java.io.IOException
Take the data object and write to the output. Has ben customized for working with ObjectOutputStreams since requires extra messaging.

Specified by:
write in interface Marshaller (src)
Parameters:
dataObject - Object to be writen to output
output - The data output to write the object data to.
Throws:
java.io.IOException