org.jboss.invocation.unified.marshall
Class InvocationMarshaller
java.lang.Object
org.jboss.remoting.marshal.serializable.SerializableMarshaller
org.jboss.invocation.unified.marshall.InvocationMarshaller
- All Implemented Interfaces:
- Serializable, org.jboss.remoting.marshal.Marshaller, org.jboss.remoting.marshal.MarshallerDecorator, org.jboss.remoting.marshal.SerialMarshaller
public class InvocationMarshaller
- extends org.jboss.remoting.marshal.serializable.SerializableMarshaller
- implements org.jboss.remoting.marshal.MarshallerDecorator
This marshaller is to be used in conjunction with the UnifiedInvoker and will
look for an InvocationRequest to be passed to it, which is specific to EJB
invocations.
- Author:
- Tom Elrod
- See Also:
- Serialized Form
Methods inherited from class org.jboss.remoting.marshal.serializable.SerializableMarshaller |
getSerializationType, setSerializationType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DATATYPE
public static final String DATATYPE
- See Also:
- Constant Field Values
InvocationMarshaller
public InvocationMarshaller()
write
public void write(Object dataObject,
OutputStream output)
throws IOException
- Marshaller will need to take the dataObject and convert
into primitive java data types and write to the
given output. Will check to see if dataObject being passed is
an InvocationRequest, and if is, process it (including handling propagation of
transaction). If is not an instance of InvocationRequest, will default back to
SerializableMarshaller for processing.
- Specified by:
write
in interface org.jboss.remoting.marshal.Marshaller
- Overrides:
write
in class org.jboss.remoting.marshal.serializable.SerializableMarshaller
- Parameters:
dataObject
- Object to be writen to outputoutput
- The data output to write the object
data to.
- Throws:
IOException
addDecoration
public Object addDecoration(Object dataObject)
throws IOException
- Specified by:
addDecoration
in interface org.jboss.remoting.marshal.MarshallerDecorator
- Throws:
IOException
getTransactionPropagationContext
public Object getTransactionPropagationContext()
throws SystemException
- Throws:
SystemException
cloneMarshaller
public org.jboss.remoting.marshal.Marshaller cloneMarshaller()
throws CloneNotSupportedException
- Specified by:
cloneMarshaller
in interface org.jboss.remoting.marshal.Marshaller
- Overrides:
cloneMarshaller
in class org.jboss.remoting.marshal.serializable.SerializableMarshaller
- Throws:
CloneNotSupportedException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.