|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jcorporate.expresso.kernel.internal.DefaultConfigBean
This class represents a default implementation of the Configuration interface. Is is used internally by the SystemFactory to load all the configuration values to be distributed to the Components for configuration. Those wishing to change the underlying class should create their own System factory
| Constructor Summary | |
DefaultConfigBean()
|
|
| Method Summary | |
boolean |
contains(String name,
String key)
Does the specified mapped property contain a value for the specified key value? |
Object |
get(String name)
Return the value of a simple property with the specified name |
Object |
get(String name,
int index)
Return the value of an indexed property with the specified name. |
Object |
get(String name,
String key)
Return the value of a mapped property with the specified name, or null if there is no value for the specified key |
List |
getIndexedProperties(String name)
Retrieve ALL the indexed properties defined by parameter name. |
Map |
getMappedProperties(String name)
Retrieved all the mapped properties defined by name |
void |
set(String name,
int index,
Object o)
|
void |
set(String name,
Object o)
|
void |
set(String name,
String key,
Object o)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultConfigBean()
| Method Detail |
public Object get(String name)
Configuration
get in interface Configurationname - Name of the property whose value is to be retrieved
public Object get(String name,
int index)
Configuration
get in interface Configurationname - Name of the property whose value is to be retrievedindex - Index of the value to be retrieved
public List getIndexedProperties(String name)
getIndexedProperties in interface Configurationname - the name of the property
public Object get(String name,
String key)
Configuration
get in interface Configurationname - Name of the property whose value is to be retrievedkey - Key of the value to be retrieved
public Map getMappedProperties(String name)
getMappedProperties in interface Configurationname - the name of the mapped properties to retrieve
public boolean contains(String name,
String key)
Configuration
contains in interface Configurationname - Name of the property to checkkey - Name of the key to check
public void set(String name,
Object o)
public void set(String name,
int index,
Object o)
public void set(String name,
String key,
Object o)
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||