|
||||||||||
| 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.DefaultSettings
public class DefaultSettings
Default implementation of Settings - creates and delegates to other settingss by using an internal
DelegatingSettings.
| Field Summary | |
|---|---|
protected org.apache.commons.logging.Log |
log
|
| Constructor Summary | |
|---|---|
DefaultSettings()
Creates a new DefaultSettings object by loading all property files and creating an internal DelegatingSettings object. |
|
| Method Summary | |
|---|---|
java.lang.String |
getImpl(java.lang.String aName)
Gets the specified property - delegates to the internal config implementation. |
boolean |
isSetImpl(java.lang.String aName)
Determines whether or not a value has been set - delegates to the internal config implementation. |
java.util.Iterator |
listImpl()
Returns a list of all property names - delegates to the internal config implementation. |
void |
setImpl(java.lang.String aName,
java.lang.String aValue)
Sets the given property - delegates to the internal config implementation. |
| 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 |
| Field Detail |
|---|
protected org.apache.commons.logging.Log log
| Constructor Detail |
|---|
public DefaultSettings()
DelegatingSettings object. All calls to get and set
in this class will call that settings object.
| Method Detail |
|---|
public void setImpl(java.lang.String aName,
java.lang.String aValue)
throws java.lang.IllegalArgumentException,
java.lang.UnsupportedOperationException
setImpl in class Settingsjava.lang.IllegalArgumentException
java.lang.UnsupportedOperationExceptionSettings.set(String, String)
public java.lang.String getImpl(java.lang.String aName)
throws java.lang.IllegalArgumentException
getImpl in class Settingsjava.lang.IllegalArgumentExceptionSettings.get(String)public boolean isSetImpl(java.lang.String aName)
isSetImpl in class SettingsSettings.isSet(String)public java.util.Iterator listImpl()
listImpl in class SettingsSettings.list()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||