@Singleton @Contract @Named(value="system default") public class PropertyBagCustomizerImpl extends Object implements PropertyBagCustomizer
DEFAULT_IMPLEMENTATION| Constructor and Description |
|---|
PropertyBagCustomizerImpl() |
| Modifier and Type | Method and Description |
|---|---|
Property |
getProperty(PropertyBag me,
String name) |
String |
getPropertyValue(PropertyBag me,
String name)
Returns a property value if the bean has properties and one of its
properties name is equal to the one passed.
|
String |
getPropertyValue(PropertyBag me,
String name,
String defaultValue)
Returns a property value if the bean has properties and one of its
properties name is equal to the one passed.
|
public Property getProperty(PropertyBag me, String name)
getProperty in interface PropertyBagCustomizerpublic String getPropertyValue(PropertyBag me, String name)
PropertyBagCustomizergetPropertyValue in interface PropertyBagCustomizername - the property name requestedpublic String getPropertyValue(PropertyBag me, String name, String defaultValue)
PropertyBagCustomizergetPropertyValue in interface PropertyBagCustomizername - the property name requesteddefaultValue - is the default value to return in case the property
of that name does not exist in this bagCopyright © 2019. All rights reserved.