org.apache.geronimo.remoting.transport
Class BytesMarshalledObject

java.lang.Object
  extended byorg.apache.geronimo.remoting.transport.BytesMarshalledObject
All Implemented Interfaces:
Externalizable, MarshalledObject, Serializable

public class BytesMarshalledObject
extends Object
implements MarshalledObject, Externalizable

Version:
$Revision: 1.6 $ $Date: 2004/03/21 22:24:39 $
See Also:
Serialized Form

Nested Class Summary
 class BytesMarshalledObject.ObjectInputStreamExt
           
 
Constructor Summary
BytesMarshalledObject()
           
BytesMarshalledObject(Object value)
           
BytesMarshalledObject(TransportContext transportContext)
           
BytesMarshalledObject(TransportContext transportContext, Object value)
           
 
Method Summary
 Object get()
           
 Object get(ClassLoader classloader)
           
 byte[] getBytes()
           
 void readExternal(ObjectInput in)
           
 void set(Object value)
           
 void setBytes(byte[] data)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BytesMarshalledObject

public BytesMarshalledObject()

BytesMarshalledObject

public BytesMarshalledObject(Object value)
                      throws IOException

BytesMarshalledObject

public BytesMarshalledObject(TransportContext transportContext)

BytesMarshalledObject

public BytesMarshalledObject(TransportContext transportContext,
                             Object value)
                      throws IOException
Method Detail

set

public void set(Object value)
         throws IOException
Specified by:
set in interface MarshalledObject
Throws:
IOException
See Also:
MarshalledObject.set(java.lang.Object)

getBytes

public byte[] getBytes()

setBytes

public void setBytes(byte[] data)

get

public Object get()
           throws IOException,
                  ClassNotFoundException
Specified by:
get in interface MarshalledObject
Throws:
IOException
ClassNotFoundException

get

public Object get(ClassLoader classloader)
           throws IOException,
                  ClassNotFoundException
Specified by:
get in interface MarshalledObject
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.