Class CompositeDataBean.CompositeDataBeanState
- java.lang.Object
-
- org.alfresco.repo.management.subsystems.CompositeDataBean.CompositeDataBeanState
-
- All Implemented Interfaces:
PropertyBackedBeanState
- Enclosing class:
- CompositeDataBean
protected class CompositeDataBean.CompositeDataBeanState extends java.lang.Object implements PropertyBackedBeanState
The Class CompositeDataBeanState.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCompositeDataBeanState()Instantiates a new composite data bean state.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectgetBean()Gets the wrapped Java bean.java.lang.StringgetProperty(java.lang.String name)Gets a property value.java.util.Set<java.lang.String>getPropertyNames()Gets the names of all properties.voidremoveProperty(java.lang.String name)Removes a property.voidsetProperty(java.lang.String name, java.lang.String value)Sets the value of a property.voidstart()Starts up the component, using its new property values.voidstop()Stops the component, so that its property values can be changed.
-
-
-
Method Detail
-
getProperty
public java.lang.String getProperty(java.lang.String name)
Description copied from interface:PropertyBackedBeanStateGets a property value.- Specified by:
getPropertyin interfacePropertyBackedBeanState- Parameters:
name- the name- Returns:
- the property value
-
getPropertyNames
public java.util.Set<java.lang.String> getPropertyNames()
Description copied from interface:PropertyBackedBeanStateGets the names of all properties.- Specified by:
getPropertyNamesin interfacePropertyBackedBeanState- Returns:
- the property names
-
setProperty
public void setProperty(java.lang.String name, java.lang.String value)Description copied from interface:PropertyBackedBeanStateSets the value of a property. This may only be called afterPropertyBackedBeanState.stop().- Specified by:
setPropertyin interfacePropertyBackedBeanState- Parameters:
name- the property namevalue- the property value
-
removeProperty
public void removeProperty(java.lang.String name)
Description copied from interface:PropertyBackedBeanStateRemoves a property. This may only be called afterPropertyBackedBeanState.stop().- Specified by:
removePropertyin interfacePropertyBackedBeanState- Parameters:
name- the property name
-
start
public void start()
Description copied from interface:PropertyBackedBeanStateStarts up the component, using its new property values.- Specified by:
startin interfacePropertyBackedBeanState
-
stop
public void stop()
Description copied from interface:PropertyBackedBeanStateStops the component, so that its property values can be changed.- Specified by:
stopin interfacePropertyBackedBeanState
-
getBean
protected java.lang.Object getBean()
Gets the wrapped Java bean.- Returns:
- the Java bean
-
-