org.apache.axis2.transport.testkit.message
Class AxisMessage

java.lang.Object
  extended by org.apache.axis2.transport.testkit.message.AxisMessage

public class AxisMessage
extends java.lang.Object

Class encapsulating a SOAP envelope and an attachment map. This class is used by MockMessageReceiver because it is not safe to keep a reference to the MessageContext object.


Constructor Summary
AxisMessage()
           
AxisMessage(org.apache.axis2.context.MessageContext msgContext)
           
 
Method Summary
 org.apache.axiom.attachments.Attachments getAttachments()
           
 org.apache.axiom.soap.SOAPEnvelope getEnvelope()
           
 java.lang.String getMessageType()
           
 void setAttachments(org.apache.axiom.attachments.Attachments attachments)
           
 void setEnvelope(org.apache.axiom.soap.SOAPEnvelope envelope)
           
 void setMessageType(java.lang.String messageType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AxisMessage

public AxisMessage()

AxisMessage

public AxisMessage(org.apache.axis2.context.MessageContext msgContext)
            throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getMessageType

public java.lang.String getMessageType()

setMessageType

public void setMessageType(java.lang.String messageType)

getEnvelope

public org.apache.axiom.soap.SOAPEnvelope getEnvelope()

setEnvelope

public void setEnvelope(org.apache.axiom.soap.SOAPEnvelope envelope)

getAttachments

public org.apache.axiom.attachments.Attachments getAttachments()

setAttachments

public void setAttachments(org.apache.axiom.attachments.Attachments attachments)


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.