|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jibx.ws.context.Context org.jibx.ws.context.MessageContext
public abstract class MessageContext
Defines the context for sending or receiving an individual message.
Constructor Summary | |
---|---|
MessageContext()
|
Method Summary | |
---|---|
Object |
getBody()
Get message body. |
ExchangeContext |
getExchangeContext()
Get the context of the enclosing message exchange. |
abstract boolean |
isOutbound()
Returns whether the message context is for an outbound or inbound message. |
void |
reset()
Resets the state of this context and all associated commands and handlers for subsequent re-use of this context. |
void |
setBody(Object body)
Set message body. |
Methods inherited from class org.jibx.ws.context.Context |
---|
getAttribute, getAttributeNames, removeAttribute, setAttribute |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageContext()
Method Detail |
---|
public final ExchangeContext getExchangeContext()
public abstract boolean isOutbound()
true
if the context is for an outbound message, false
for inbound.public final Object getBody()
public final void setBody(Object body)
body
- the message bodypublic void reset()
reset
in class Context
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |