|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.webservice.handler.MessageContextImpl
The message context that is processed by a handler in the handle method.
Provides methods to manage a property set. MessageContext properties enable handlers in a handler chain to share processing related state.
| Constructor Summary | |
MessageContextImpl()
|
|
| Method Summary | |
boolean |
containsProperty(java.lang.String name)
Returns true if the MessageContext contains a property with the specified name. |
java.lang.Object |
getProperty(java.lang.String name)
Gets the value of a specific property from the MessageContext |
java.util.Iterator |
getPropertyNames()
Returns an Iterator view of the names of the properties in this MessageContext |
void |
removeProperty(java.lang.String name)
Removes a property (name-value pair) from the MessageContext |
void |
setProperty(java.lang.String name,
java.lang.Object value)
Sets the name and value of a property associated with the MessageContext. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MessageContextImpl()
| Method Detail |
public boolean containsProperty(java.lang.String name)
containsProperty in interface MessageContext (src) name - Name of the property whose presense is to be tested
public java.lang.Object getProperty(java.lang.String name)
getProperty in interface MessageContext (src) name - Name of the property whose value is to be retrieved
java.lang.IllegalArgumentException - if an illegal property name is specifiedpublic java.util.Iterator getPropertyNames()
getPropertyNames in interface MessageContext (src) public void removeProperty(java.lang.String name)
removeProperty in interface MessageContext (src) name - Name of the property to be removed
java.lang.IllegalArgumentException - if an illegal property name is specified
public void setProperty(java.lang.String name,
java.lang.Object value)
setProperty in interface MessageContext (src) name - Name of the property associated with the MessageContextvalue - Value of the property
java.lang.IllegalArgumentException - If some aspect of the property is prevents it from being stored in the context
java.lang.UnsupportedOperationException - If this method is not supported.
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||