|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SystemPropertyBag
Base interface for those configuration objects that has nested <system-property> elements.
Important: document legal properties using PropertiesDesc, one PropertyDesc for each legal system-property.
| Nested Class Summary | |
|---|---|
static class |
SystemPropertyBag.Duck
|
| Method Summary | |
|---|---|
boolean |
containsProperty(java.lang.String name)
|
java.lang.String |
getPropertyValue(java.lang.String name,
java.lang.String defaultValue)
Returns a property value if the bean has properties and one of its properties name is equal to the one passed. |
java.util.List<SystemProperty> |
getSystemProperty()
Gets the list of system-property. |
SystemProperty |
getSystemProperty(java.lang.String name)
|
java.lang.String |
getSystemPropertyValue(java.lang.String name)
Returns a property value if the bean has system properties and one of its system-property names is equal to the one passed. |
| Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy |
|---|
createChild, deepCopy, getParent, getParent |
| Method Detail |
|---|
java.util.List<SystemProperty> getSystemProperty()
set method for the property property.
For example, to add a new item, do as follows:
getSystemProperty().add(newItem);
Objects of the following type(s) are allowed in the list
SystemProperty
@DuckTyped SystemProperty getSystemProperty(java.lang.String name)
@DuckTyped java.lang.String getSystemPropertyValue(java.lang.String name)
name - the system property name requested
@DuckTyped
java.lang.String getPropertyValue(java.lang.String name,
java.lang.String defaultValue)
name - the property name requested@DuckTyped boolean containsProperty(java.lang.String name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||