public interface PropertyBackedBean extends PropertyBackedBeanState
PropertyBackedBean
is a reconfigurable sub-component or subsystem in the Alfresco server. It exposes
its state through the PropertyBackedBeanState
interface, along with fixed attributes and a method for
reverting the bean to its default initial state. In the Alfresco enterprise edition PropertyBackedBean
s
are exposed as persistent MBeans and can be reconfigured across a cluster at runtime via JMX.Modifier and Type | Method and Description |
---|---|
String |
getDescription(String name)
Gets a Human readable description of the property, e.g.
|
List<String> |
getId()
Gets a unique identifier for the bean.
|
boolean |
isUpdateable(String name)
Checks if a property is updateable.
|
void |
removeProperties(Collection<String> attributes)
Tries removing the given properties on this component.
|
void |
revert()
Reverts this component to its original default start state, removing any previously persisted state changes.
|
void |
setProperties(Map<String,String> properties)
Tries setting the given properties on this component.
|
getProperty, getPropertyNames, removeProperty, setProperty, start, stop
List<String> getId()
boolean isUpdateable(String name)
name
- the property nametrue
if the property is updateableString getDescription(String name)
name
- the namevoid revert()
void setProperties(Map<String,String> properties)
PropertyBackedBeanState.start()
, presumably after persistence of the new state has been
completed.void removeProperties(Collection<String> attributes)
PropertyBackedBeanState.start()
, presumably after persistence of the new state has been
completed.Copyright © 2005–2017 Alfresco Software. All rights reserved.