|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyBackedBeanState
A PropertyBackedBeanState
represents the state of a configurable sub-component or subsystem in the
Alfresco server. It exposes configurable properties, along with PropertyBackedBeanState.stop()
and PropertyBackedBeanState.start()
methods. To
modify the state, first ensure its associated component is stopped by calling PropertyBackedBeanState.stop()
. Then set one or more
properties. Then test out the changes with PropertyBackedBeanState.start()
. In the Alfresco enterprise edition
PropertyBackedBeanState
s are exposed as persistent MBeans and can be reconfigured at runtime across a
cluster via JMX.
Method Summary | |
---|---|
java.lang.String |
getProperty(java.lang.String name)
Gets a property value. |
java.util.Set |
getPropertyNames()
Gets the names of all properties. |
void |
setProperty(java.lang.String name,
java.lang.String value)
Sets the value of a property. |
void |
start()
Starts up the component, using its new property values. |
void |
stop()
Stops the component, so that its property values can be changed. |
Method Detail |
---|
java.util.Set getPropertyNames()
java.lang.String getProperty(java.lang.String name)
name
- the name
void setProperty(java.lang.String name, java.lang.String value)
PropertyBackedBeanState.stop()
and should only be called for
property names for which the #isUpdateable(String)
method returns true
.
name
- the property namevalue
- the property valuevoid start()
void stop()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |