org.mule.transformer.wire
Class TransformerPairWireFormat
java.lang.Object
org.mule.transformer.wire.TransformerPairWireFormat
- All Implemented Interfaces:
- MuleContextAware, WireFormat
- Direct Known Subclasses:
- SerializationWireFormat, SerializedMuleMessageWireFormat, XStreamWireFormat
public class TransformerPairWireFormat
- extends Object
- implements WireFormat
A pairing of an outbound transformer and an inbound transformer that can be used to serialize and deserialize data.
THis is used when marshalling requests over the wire. IN Mule the MuleClient RemoteDispatcher uses wire formats to
communicate with the server.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected transient Log logger
- logger used by this class
inboundTransformer
protected Transformer inboundTransformer
outboundTransformer
protected Transformer outboundTransformer
muleContext
protected MuleContext muleContext
TransformerPairWireFormat
public TransformerPairWireFormat()
setMuleContext
public void setMuleContext(MuleContext context)
- Specified by:
setMuleContext
in interface MuleContextAware
read
public Object read(InputStream in)
throws MuleException
- Specified by:
read
in interface WireFormat
- Throws:
MuleException
write
public void write(OutputStream out,
Object o,
String encoding)
throws MuleException
- Specified by:
write
in interface WireFormat
- Throws:
MuleException
getInboundTransformer
public Transformer getInboundTransformer()
setInboundTransformer
public void setInboundTransformer(Transformer inboundTransformer)
getOutboundTransformer
public Transformer getOutboundTransformer()
setOutboundTransformer
public void setOutboundTransformer(Transformer outboundTransformer)
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.