org.jboss.soa.esb.message.format
Interface MessagePlugin


public interface MessagePlugin

Used to plug in new message formats dynamically. Each plugin is responsible for returning a message implementation that knows how to serialize its state in a specific manner, e.g., XML or ASN.1.

Author:
Mark Little

Field Summary
static java.lang.String MESSAGE_PLUGIN
           
 
Method Summary
 java.lang.Object createBodyType(Message msg, java.lang.String type)
           
 Message getMessage()
           
 java.net.URI getType()
           
 

Field Detail

MESSAGE_PLUGIN

static final java.lang.String MESSAGE_PLUGIN
See Also:
Constant Field Values
Method Detail

getMessage

Message getMessage()
Returns:
the message instance.

getType

java.net.URI getType()
Returns:
the unique format identifier for this message plugin.

createBodyType

java.lang.Object createBodyType(Message msg,
                                java.lang.String type)