org.alfresco.repo.management.subsystems
Class CompositeDataBean.CompositeDataBeanState

java.lang.Object
  extended by 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
protected CompositeDataBean.CompositeDataBeanState()
          Instantiates a new composite data bean state.
 
Method Summary
protected  java.lang.Object getBean()
          Gets the wrapped Java bean.
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeDataBean.CompositeDataBeanState

protected CompositeDataBean.CompositeDataBeanState()
Instantiates a new composite data bean state.

Method Detail

getProperty

public java.lang.String getProperty(java.lang.String name)
Description copied from interface: PropertyBackedBeanState
Gets a property value.

Specified by:
getProperty in interface PropertyBackedBeanState
Parameters:
name - the name
Returns:
the property value

getPropertyNames

public java.util.Set getPropertyNames()
Description copied from interface: PropertyBackedBeanState
Gets the names of all properties.

Specified by:
getPropertyNames in interface PropertyBackedBeanState
Returns:
the property names

setProperty

public void setProperty(java.lang.String name,
                        java.lang.String value)
Description copied from interface: PropertyBackedBeanState
Sets the value of a property. This may only be called after PropertyBackedBeanState.stop() and should only be called for property names for which the #isUpdateable(String) method returns true.

Specified by:
setProperty in interface PropertyBackedBeanState
Parameters:
name - the property name
value - the property value

start

public void start()
Description copied from interface: PropertyBackedBeanState
Starts up the component, using its new property values.

Specified by:
start in interface PropertyBackedBeanState

stop

public void stop()
Description copied from interface: PropertyBackedBeanState
Stops the component, so that its property values can be changed.

Specified by:
stop in interface PropertyBackedBeanState

getBean

protected java.lang.Object getBean()
Gets the wrapped Java bean.

Returns:
the Java bean


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.