| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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 Messagepublic EndpointReference getFrom()
Message
getFrom in interface Messagepublic java.lang.Object getMessageID()
Message
getMessageID in interface Messagepublic EndpointReference getTo()
Message
getTo in interface Messagepublic RuntimeWire getWire()
public boolean isFault()
Message
isFault in interface Messagepublic <T> void setBody(T arg0)
Message
setBody in interface Messagearg0 - The body of the messagepublic <T> void setFaultBody(T arg0)
Message
setFaultBody in interface Messagearg0 - The fault object represents an exceptionpublic void setFrom(EndpointReference arg0)
Message
setFrom in interface Messagearg0 - The end point reference of the reference originating the messagepublic void setMessageID(java.lang.Object arg0)
Message
setMessageID in interface Messagearg0 - The message IDpublic void setTo(EndpointReference arg0)
Message
setTo in interface Messagearg0 - The end point reference of the service that the message targetspublic Operation getOperation()
Message
getOperation in interface Messagepublic void setOperation(Operation op)
Message
setOperation in interface Messageop - 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 Messagepublic <T> T getBindingContext()
Message
getBindingContext in interface Messagepublic <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 | ||||||||