|
|||||||||||
| PREV CLASS NEXT CLASS | 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(String name)
Returns true if the MessageContext contains a property with the specified name. |
Object |
getProperty(String name)
Gets the value of a specific property from the MessageContext |
Iterator |
getPropertyNames()
Returns an Iterator view of the names of the properties in this MessageContext |
void |
removeProperty(String name)
Removes a property (name-value pair) from the MessageContext |
void |
setProperty(String name,
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(String name)
containsProperty in interface javax.xml.rpc.handler.MessageContextname - Name of the property whose presense is to be tested
public Object getProperty(String name)
getProperty in interface javax.xml.rpc.handler.MessageContextname - Name of the property whose value is to be retrieved
IllegalArgumentException - if an illegal property name is specifiedpublic Iterator getPropertyNames()
getPropertyNames in interface javax.xml.rpc.handler.MessageContextpublic void removeProperty(String name)
removeProperty in interface javax.xml.rpc.handler.MessageContextname - Name of the property to be removed
IllegalArgumentException - if an illegal property name is specifiedpublic void setProperty(String name, Object value)
setProperty in interface javax.xml.rpc.handler.MessageContextname - Name of the property associated with the MessageContextvalue - Value of the property
IllegalArgumentException - If some aspect of the property is prevents it from being stored in the context
UnsupportedOperationException - If this method is not supported.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||