|
JBoss Log Manager 1.4.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PropertyConfigurable
An object which is configurable via object properties.
| Method Summary | |
|---|---|
boolean |
addPostConfigurationMethod(String methodName)
Adds a method name to be invoked after all properties have been set. |
List<String> |
getConstructorProperties()
Returns a collection of the constructor properties. |
List<String> |
getPostConfigurationMethods()
Returns a collection of the methods to be invoked after the properties have been set. |
List<String> |
getPropertyNames()
Get the names of the configured properties in order. |
ValueExpression<String> |
getPropertyValueExpression(String propertyName)
Get the property value. |
String |
getPropertyValueString(String propertyName)
Get the string property value with the given name. |
boolean |
hasConstructorProperty(String propertyName)
Determine whether the given property name is a constructor property. |
boolean |
hasProperty(String propertyName)
Determine whether the given property name is configured. |
boolean |
removePostConfigurationMethod(String methodName)
Removes the post configuration method. |
boolean |
removeProperty(String propertyName)
Remove a configured property. |
void |
setPostConfigurationMethods(List<String> methodNames)
Sets the method names to be invoked after the properties have been set. |
void |
setPostConfigurationMethods(String... methodNames)
Sets the method names to be invoked after the properties have been set. |
void |
setPropertyValueExpression(String propertyName,
String expression)
Sets the expression value for the property. |
void |
setPropertyValueExpression(String propertyName,
String expression,
String value)
Sets the expression value for the property. |
void |
setPropertyValueString(String propertyName,
String value)
Set a property value from a string. |
| Method Detail |
|---|
void setPropertyValueString(String propertyName,
String value)
throws IllegalArgumentException
propertyName - the property namevalue - the property value
IllegalArgumentException - if the given value is not acceptable for this propertyString getPropertyValueString(String propertyName)
propertyName - the property name
ValueExpression<String> getPropertyValueExpression(String propertyName)
propertyName - the property name
void setPropertyValueExpression(String propertyName,
String expression)
propertyName - the name of the propertyexpression - the expression used to resolve the value
void setPropertyValueExpression(String propertyName,
String expression,
String value)
value parameter for the
value.
propertyName - the name of the propertyexpression - the expression used to resolve the valuevalue - the value to useboolean hasProperty(String propertyName)
propertyName - the property name to test
true if the name is configured, false otherwiseboolean removeProperty(String propertyName)
propertyName - the property name
true if the property name was removed, false if it was not presentList<String> getPropertyNames()
boolean hasConstructorProperty(String propertyName)
propertyName - the name of the property to check.
true if the property should be used as a construction property, otherwise false.List<String> getConstructorProperties()
boolean addPostConfigurationMethod(String methodName)
methodName - the name of the method
true if the method was successfully added, otherwise falseList<String> getPostConfigurationMethods()
void setPostConfigurationMethods(String... methodNames)
methodNames - the method names to invokevoid setPostConfigurationMethods(List<String> methodNames)
methodNames - the method names to invokeboolean removePostConfigurationMethod(String methodName)
methodName - the method to remove
true if the method was removed, otherwise false
|
JBoss Log Manager 1.4.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||