| java.lang.Object com.opensymphony.webwork.config.Configuration com.opensymphony.webwork.config.DelegatingConfiguration
DelegatingConfiguration | public class DelegatingConfiguration extends Configuration (Code) | | A Configuration implementation which stores an internal list of configuration objects. Each time
a config method is called (get, set, list, etc..) this class will go through the list of configurations
and call the method until successful.
author: Rickard Öberg author: Jason Carreira author: Bill Lynch (docs) |
Method Summary | |
public Object | getImpl(String name) Gets the specified property - calls getImpl(String) method on config objects in config list
until successful. | public boolean | isSetImpl(String aName) Determines if a paramter has been set - calls the isSetImpl(String) method on each config object
in config list. | public Iterator | listImpl() Returns a list of all property names - returns a list of all property names in all config
objects in config list. | public void | setImpl(String name, Object value) Sets the given property - calls setImpl(String, Object) method on config objects in the config
list until successful. |
DelegatingConfiguration | public DelegatingConfiguration(Configuration[] aConfigList)(Code) | | Creates a new DelegatingConfiguration object given a list of
Configuration implementations.
Parameters: aConfigList - a list of Configuration implementations. |
isSetImpl | public boolean isSetImpl(String aName)(Code) | | Determines if a paramter has been set - calls the isSetImpl(String) method on each config object
in config list. Returns true when one of the config implementations returns true. Returns
false otherwise.
See Also: DelegatingConfiguration.isSet(String) |
|
|