|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts2.config.Settings
org.apache.struts2.config.DelegatingSettings
public class DelegatingSettings
A Settings implementation which stores an internal list of settings objects. Each time a config method is called (get, set, list, etc..) this class will go through the list of settingss and call the method until successful.
Constructor Summary | |
---|---|
DelegatingSettings(Settings[] aConfigList)
Creates a new DelegatingSettings object given a list of Settings implementations. |
Method Summary | |
---|---|
java.lang.String |
getImpl(java.lang.String name)
Gets the specified property - calls getImpl(String) method on config objects in config list until successful. |
boolean |
isSetImpl(java.lang.String aName)
Determines if a paramter has been set - calls the isSetImpl(String) method on each config object in config list. |
java.util.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(java.lang.String name,
java.lang.String value)
Sets the given property - calls setImpl(String, Object) method on config objects in the config list until successful. |
Methods inherited from class org.apache.struts2.config.Settings |
---|
get, getInstance, getLocale, isSet, list, reset, set, setInstance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DelegatingSettings(Settings[] aConfigList)
Settings
implementations.
aConfigList
- a list of Settings implementations.Method Detail |
---|
public void setImpl(java.lang.String name, java.lang.String value) throws java.lang.IllegalArgumentException, java.lang.UnsupportedOperationException
setImpl
in class Settings
java.lang.IllegalArgumentException
java.lang.UnsupportedOperationException
Settings.set(String, String)
public java.lang.String getImpl(java.lang.String name) throws java.lang.IllegalArgumentException
getImpl
in class Settings
java.lang.IllegalArgumentException
Settings.get(String)
public boolean isSetImpl(java.lang.String aName)
isSetImpl
in class Settings
Settings.isSet(String)
public java.util.Iterator listImpl()
listImpl
in class Settings
Settings.list()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |