public class ServletContextHandler extends Object implements DynamicPropertyHandler
DynamicPropertyHandler interface that provides
access to attributes of a ServletContext.| Constructor and Description |
|---|
ServletContextHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
collectPropertyNames(HashSet set,
Object bean)
Collect the property names from bean, storing in set.
|
Object |
getProperty(Object context,
String property)
Returns the value of the specified dynamic property.
|
String[] |
getPropertyNames(Object context)
Returns a list of dynamic property names for the supplied object.
|
void |
setProperty(Object context,
String property,
Object value)
Modifies the value of the specified dynamic property.
|
public String[] getPropertyNames(Object context)
DynamicPropertyHandlergetPropertyNames in interface DynamicPropertyHandlercontext - to inspectprotected void collectPropertyNames(HashSet set, Object bean)
set - destinationbean - to readpublic Object getProperty(Object context, String property)
DynamicPropertyHandlergetProperty in interface DynamicPropertyHandlercontext - to searchproperty - to retrievepublic void setProperty(Object context, String property, Object value)
DynamicPropertyHandlersetProperty in interface DynamicPropertyHandlercontext - to modifyproperty - to modifyvalue - to setCopyright © 2001–2015 The Apache Software Foundation. All rights reserved.