|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.webwork.config.Configuration
com.opensymphony.webwork.config.DelegatingConfiguration
public class DelegatingConfiguration
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.
| Constructor Summary | |
|---|---|
DelegatingConfiguration(Configuration[] aConfigList)
Creates a new DelegatingConfiguration object given a list of Configuration implementations. |
|
| Method Summary | |
|---|---|
Object |
getImpl(String name)
Gets the specified property - calls getImpl(String) method on config objects in config list until successful. |
boolean |
isSetImpl(String aName)
Determines if a paramter has been set - calls the isSetImpl(String) method on each config object in config list. |
Iterator |
listImpl()
Returns a list of all property names - returns a list of all property names in all config objects in config list. |
void |
setImpl(String name,
Object value)
Sets the given property - calls setImpl(String, Object) method on config objects in the config list until successful. |
| Methods inherited from class com.opensymphony.webwork.config.Configuration |
|---|
get, getConfiguration, getLocale, getString, isSet, list, reset, set, setConfiguration |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DelegatingConfiguration(Configuration[] aConfigList)
Configuration implementations.
aConfigList - a list of Configuration implementations.| Method Detail |
|---|
public void setImpl(String name,
Object value)
throws IllegalArgumentException,
UnsupportedOperationException
setImpl in class ConfigurationIllegalArgumentException
UnsupportedOperationExceptionConfiguration.set(String, Object)
public Object getImpl(String name)
throws IllegalArgumentException
getImpl in class ConfigurationIllegalArgumentExceptionConfiguration.get(String)public boolean isSetImpl(String aName)
isSetImpl in class ConfigurationConfiguration.isSet(String)public Iterator listImpl()
listImpl in class ConfigurationConfiguration.list()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||