|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConfigurationProperties
Encapsulates the Configuration at the SPI layer
and uses reflection to identify the individual properties that are available for an application to manipulate.
Method Summary | |
---|---|
ConfigurationProperty |
getProperty(java.lang.String name) Get a particular ConfigurationProperty by name. |
java.util.List<java.lang.String> |
getPropertyNames() Get the list of properties names for this Configuration . |
java.util.List<java.lang.String> |
getPropertyNames(ConfigurationFilter configFilter) Get the filtered list of properties names for this Configuration . |
void |
setPropertyValue(java.lang.String name, java.lang.Object value) Set the value of the Configuration property by name. |
Method Detail |
---|
java.util.List<java.lang.String> getPropertyNames()
Configuration
.java.util.List<java.lang.String> getPropertyNames(ConfigurationFilter configFilter)
Configuration
.configFilter
-ConfigurationProperty getProperty(java.lang.String name)
ConfigurationProperty
by name.name
- the unique name of the property.ConfigurationProperty
if it exists otherwise null.void setPropertyValue(java.lang.String name, java.lang.Object value)
Configuration
property by name.name
- Name of the property to set the value against.value
- Value to set on the configuration property.java.lang.IllegalArgumentException
- iff the property name does not exist.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |