|
Préférences
Moteurs de recherche
|
||||||||||||
JavaTM Platform, Enterprise Edition, v 5.0
javax.xml.rpc.handler
|
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 . |
Method Detail |
---|
void setProperty(String name, Object value)
MessageContext
. If the MessageContext
contains a value of the same property, the old value is replaced.
name
- Name of the property associated with the
MessageContext
value
- 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.Object getProperty(String name)
MessageContext
name
- Name of the property whose value is to be
retrieved
IllegalArgumentException
- if an illegal
property name is specifiedvoid removeProperty(String name)
MessageContext
name
- Name of the property to be removed
IllegalArgumentException
- if an illegal
property name is specifiedboolean containsProperty(String name)
MessageContext
contains a property
with the specified name.
name
- Name of the property whose presense is to be
tested
Iterator getPropertyNames()
MessageContext