public interface PropertyBackedBeanState
PropertyBackedBeanState
represents the state of a configurable sub-component or subsystem in the
Alfresco server. It exposes configurable properties, along with stop()
and start()
methods. To
modify the state, first ensure its associated component is stopped by calling stop()
. Then set one or more
properties. Then test out the changes with start()
. In the Alfresco enterprise edition
PropertyBackedBeanState
s are exposed as persistent MBeans and can be reconfigured at runtime across a
cluster via JMX.Modifier and Type | Method and Description |
---|---|
String |
getProperty(String name)
Gets a property value.
|
Set<String> |
getPropertyNames()
Gets the names of all properties.
|
void |
removeProperty(String name)
Removes a property.
|
void |
setProperty(String name,
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.
|
Set<String> getPropertyNames()
String getProperty(String name)
name
- the namevoid setProperty(String name, String value)
stop()
.name
- the property namevalue
- the property valuevoid removeProperty(String name)
stop()
.name
- the property namevoid start()
void stop()
Copyright © 2005–2017 Alfresco Software. All rights reserved.