|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.sandesha2.RMMsgContext
public class RMMsgContext
This class is used to hold a MessageContext within Sandesha. This is used to easily manupilate the properties of a MessageContext.
Constructor Summary | |
---|---|
RMMsgContext()
|
|
RMMsgContext(org.apache.axis2.context.MessageContext ctx)
|
Method Summary | |
---|---|
void |
addAckRequested(AckRequested ackRequested)
|
void |
addRelatesTo(org.apache.axis2.addressing.RelatesTo relatesTo)
|
void |
addSequenceAcknowledgement(SequenceAcknowledgement sequenceAcknowledgement)
|
void |
addSOAPEnvelope()
To add a new SOAP envelope to the message. |
void |
fromSOAPEnvelope(org.apache.axiom.soap.SOAPEnvelope envelope,
java.lang.String action)
|
java.util.Iterator<AckRequested> |
getAckRequests()
|
CloseSequence |
getCloseSequence()
|
CloseSequenceResponse |
getCloseSequenceResponse()
|
org.apache.axis2.context.ConfigurationContext |
getConfigurationContext()
|
CreateSequence |
getCreateSequence()
|
CreateSequenceResponse |
getCreateSequenceResponse()
|
org.apache.axis2.addressing.EndpointReference |
getFaultTo()
|
int |
getFlow()
|
org.apache.axis2.addressing.EndpointReference |
getFrom()
|
java.lang.String |
getGeneratedSequenceId()
This will return the sequenceId if it could be derived from the SOAP envelope, in the message initiation. |
MakeConnection |
getMakeConnection()
|
org.apache.axis2.context.MessageContext |
getMessageContext()
|
java.lang.String |
getMessageId()
|
MessagePending |
getMessagePending()
|
int |
getMessageType()
|
java.lang.Object |
getProperty(java.lang.String key)
|
org.apache.axis2.addressing.RelatesTo |
getRelatesTo()
|
org.apache.axis2.addressing.EndpointReference |
getReplyTo()
|
java.lang.String |
getRMNamespaceValue()
|
java.lang.String |
getRMSpecVersion()
|
Sequence |
getSequence()
|
java.util.Iterator<SequenceAcknowledgement> |
getSequenceAcknowledgements()
|
SequenceFault |
getSequenceFault()
|
org.apache.axiom.soap.SOAPEnvelope |
getSOAPEnvelope()
|
TerminateSequence |
getTerminateSequence()
|
TerminateSequenceResponse |
getTerminateSequenceResponse()
|
org.apache.axis2.addressing.EndpointReference |
getTo()
|
UsesSequenceSTR |
getUsesSequenceSTR()
|
java.lang.String |
getWSAAction()
|
void |
pause()
|
void |
setAckRequested(java.util.ArrayList<AckRequested> ackRequests)
|
void |
setAction(java.lang.String action)
|
void |
setCloseSequence(CloseSequence closeSequence)
|
void |
setCloseSequenceResponse(CloseSequenceResponse closeSequenceResponse)
|
void |
setCreateSequence(CreateSequence createSequence)
|
void |
setCreateSequenceResponse(CreateSequenceResponse createSequenceResponse)
|
void |
setFaultTo(org.apache.axis2.addressing.EndpointReference epr)
|
void |
setFlow(int flow)
|
void |
setFrom(org.apache.axis2.addressing.EndpointReference epr)
|
void |
setMakeConnection(MakeConnection makeConnection)
|
void |
setMessageContext(org.apache.axis2.context.MessageContext msgCtx)
|
void |
setMessageId(java.lang.String messageId)
|
void |
setMessagePending(MessagePending messagePending)
|
void |
setMessageType(int msgType)
The message type can be used to easily identify what this message is. |
void |
setPaused(boolean pause)
|
boolean |
setProperty(java.lang.String key,
java.lang.Object val)
|
void |
setReplyTo(org.apache.axis2.addressing.EndpointReference epr)
|
void |
setRMNamespaceValue(java.lang.String rmNamespaceValue)
|
void |
setSequence(Sequence sequence)
|
void |
setSequenceAcknowledgements(java.util.ArrayList<SequenceAcknowledgement> sequenceAcknowledgements)
|
void |
setSequenceFault(SequenceFault sequenceFault2)
|
void |
setSOAPAction(java.lang.String SOAPAction)
|
void |
setSOAPEnvelop(org.apache.axiom.soap.SOAPEnvelope envelope)
|
void |
setTerminateSequence(TerminateSequence terminateSequence)
|
void |
setTerminateSequenceResponse(TerminateSequenceResponse terminateSequenceResponse)
|
void |
setTo(org.apache.axis2.addressing.EndpointReference epr)
|
void |
setUsesSequenceSTR(UsesSequenceSTR header)
|
void |
setWSAAction(java.lang.String URI)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RMMsgContext()
public RMMsgContext(org.apache.axis2.context.MessageContext ctx)
Method Detail |
---|
public void setMessageContext(org.apache.axis2.context.MessageContext msgCtx)
public void addSOAPEnvelope() throws org.apache.axis2.AxisFault
SandeshaException
org.apache.axis2.AxisFault
public int getMessageType()
public void setMessageType(int msgType)
msgType
- public org.apache.axis2.addressing.EndpointReference getFrom()
public org.apache.axis2.addressing.EndpointReference getTo()
public org.apache.axis2.addressing.EndpointReference getReplyTo()
public org.apache.axis2.addressing.RelatesTo getRelatesTo()
public java.lang.String getMessageId()
public void setFaultTo(org.apache.axis2.addressing.EndpointReference epr)
public org.apache.axis2.addressing.EndpointReference getFaultTo()
public org.apache.axiom.soap.SOAPEnvelope getSOAPEnvelope()
public void setSOAPEnvelop(org.apache.axiom.soap.SOAPEnvelope envelope) throws SandeshaException
SandeshaException
public void setFrom(org.apache.axis2.addressing.EndpointReference epr)
public void setTo(org.apache.axis2.addressing.EndpointReference epr)
public void setReplyTo(org.apache.axis2.addressing.EndpointReference epr)
public void setMessageId(java.lang.String messageId)
public void setAction(java.lang.String action)
public void addRelatesTo(org.apache.axis2.addressing.RelatesTo relatesTo)
public void setWSAAction(java.lang.String URI)
public java.lang.String getWSAAction()
public org.apache.axis2.context.MessageContext getMessageContext()
public java.lang.Object getProperty(java.lang.String key)
public boolean setProperty(java.lang.String key, java.lang.Object val)
public org.apache.axis2.context.ConfigurationContext getConfigurationContext()
public void setSOAPAction(java.lang.String SOAPAction)
public void pause()
public void setPaused(boolean pause)
public java.lang.String getRMNamespaceValue()
public void setRMNamespaceValue(java.lang.String rmNamespaceValue)
public java.lang.String getRMSpecVersion()
public void setFlow(int flow)
public int getFlow()
public java.lang.String getGeneratedSequenceId()
public CreateSequence getCreateSequence()
public CreateSequenceResponse getCreateSequenceResponse()
public Sequence getSequence()
public java.util.Iterator<SequenceAcknowledgement> getSequenceAcknowledgements()
public TerminateSequence getTerminateSequence()
public TerminateSequenceResponse getTerminateSequenceResponse()
public void setCreateSequence(CreateSequence createSequence)
public void setCreateSequenceResponse(CreateSequenceResponse createSequenceResponse)
public void setSequence(Sequence sequence)
public void setSequenceAcknowledgements(java.util.ArrayList<SequenceAcknowledgement> sequenceAcknowledgements)
public void addSequenceAcknowledgement(SequenceAcknowledgement sequenceAcknowledgement)
public void setTerminateSequence(TerminateSequence terminateSequence)
public void setTerminateSequenceResponse(TerminateSequenceResponse terminateSequenceResponse)
public java.util.Iterator<AckRequested> getAckRequests()
public void setAckRequested(java.util.ArrayList<AckRequested> ackRequests)
public void addAckRequested(AckRequested ackRequested)
public void setMakeConnection(MakeConnection makeConnection)
public void setMessagePending(MessagePending messagePending)
public CloseSequence getCloseSequence()
public void setCloseSequence(CloseSequence closeSequence)
public CloseSequenceResponse getCloseSequenceResponse()
public void setCloseSequenceResponse(CloseSequenceResponse closeSequenceResponse)
public UsesSequenceSTR getUsesSequenceSTR()
public void setUsesSequenceSTR(UsesSequenceSTR header)
public MakeConnection getMakeConnection()
public MessagePending getMessagePending()
public SequenceFault getSequenceFault()
public void setSequenceFault(SequenceFault sequenceFault2)
public void fromSOAPEnvelope(org.apache.axiom.soap.SOAPEnvelope envelope, java.lang.String action) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |