|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.sca.implementation.notification.ImmutableMessage
public class ImmutableMessage
Constructor Summary | |
---|---|
ImmutableMessage()
|
Method Summary | ||
---|---|---|
|
getBindingContext()
Returns the binding context in force for this message |
|
|
getBody()
Returns the body of the message, which will be the payload or parameters associated with the wire |
|
EndpointReference |
getFrom()
Get the end point reference of the source reference |
|
java.util.List<java.lang.Object> |
getHeaders()
Returns a list of objects that are contained in the message header |
|
java.lang.Object |
getMessageID()
Returns the id of the message |
|
Operation |
getOperation()
Returns the operation that created the message. |
|
EndpointReference |
getReplyTo()
|
|
EndpointReference |
getTo()
Get the end point reference of target service |
|
RuntimeWire |
getWire()
|
|
boolean |
isFault()
Determines if the message represents a fault/exception |
|
|
setBindingContext(T bindingContext)
Set the binding context that is in force for this message |
|
|
setBody(T arg0)
Sets the body of the message. |
|
|
setFaultBody(T arg0)
Set the message body with a fault object. |
|
void |
setFrom(EndpointReference arg0)
Set the end point reference of the reference originating the message |
|
void |
setMessageID(java.lang.Object arg0)
Sets the id of the message |
|
void |
setOperation(Operation op)
Sets the operation that created the message. |
|
void |
setTo(EndpointReference arg0)
Set the end point reference of target service |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImmutableMessage()
Method Detail |
---|
public <T> T getBody()
Message
getBody
in interface Message
public EndpointReference getFrom()
Message
getFrom
in interface Message
public java.lang.Object getMessageID()
Message
getMessageID
in interface Message
public EndpointReference getTo()
Message
getTo
in interface Message
public RuntimeWire getWire()
public boolean isFault()
Message
isFault
in interface Message
public <T> void setBody(T arg0)
Message
setBody
in interface Message
arg0
- The body of the messagepublic <T> void setFaultBody(T arg0)
Message
setFaultBody
in interface Message
arg0
- The fault object represents an exceptionpublic void setFrom(EndpointReference arg0)
Message
setFrom
in interface Message
arg0
- The end point reference of the reference originating the messagepublic void setMessageID(java.lang.Object arg0)
Message
setMessageID
in interface Message
arg0
- The message IDpublic void setTo(EndpointReference arg0)
Message
setTo
in interface Message
arg0
- The end point reference of the service that the message targetspublic Operation getOperation()
Message
getOperation
in interface Message
public void setOperation(Operation op)
Message
setOperation
in interface Message
op
- The operation that created the messagepublic EndpointReference getReplyTo()
org.apache.tuscany.sca.invocation.Message#getReplyTo()
public java.util.List<java.lang.Object> getHeaders()
Message
getHeaders
in interface Message
public <T> T getBindingContext()
Message
getBindingContext
in interface Message
public <T> void setBindingContext(T bindingContext)
Message
setBindingContext
in interface Message
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |