Class DefaultChildApplicationContextManager.ApplicationContextManagerState
java.lang.Object
org.alfresco.repo.management.subsystems.DefaultChildApplicationContextManager.ApplicationContextManagerState
- All Implemented Interfaces:
PropertyBackedBeanState
- Enclosing class:
- DefaultChildApplicationContextManager
protected class DefaultChildApplicationContextManager.ApplicationContextManagerState
extends Object
implements PropertyBackedBeanState
The Class ApplicationContextManagerState.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedApplicationContextManagerState(String defaultChain, String defaultTypeName) Instantiates a new application context manager state. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.context.ApplicationContextGets the application context.protected ChildApplicationContextFactoryGets the application context factory.Gets the instance ids.getProperty(String name) Gets a property value.Gets the names of all properties.voidremoveProperty(String name) Removes a property.voidsetProperty(String name, 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.
-
Constructor Details
-
ApplicationContextManagerState
Instantiates a new application context manager state.- Parameters:
defaultChain- the default chaindefaultTypeName- the default type name
-
-
Method Details
-
getProperty
Description copied from interface:PropertyBackedBeanStateGets a property value.- Specified by:
getPropertyin interfacePropertyBackedBeanState- Parameters:
name- the name- Returns:
- the property value
-
getPropertyNames
Description copied from interface:PropertyBackedBeanStateGets the names of all properties.- Specified by:
getPropertyNamesin interfacePropertyBackedBeanState- Returns:
- the property names
-
setProperty
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
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
-
getInstanceIds
Gets the instance ids.- Returns:
- the instance ids
-
getApplicationContext
Gets the application context.- Parameters:
id- the id- Returns:
- the application context
-
getApplicationContextFactory
Gets the application context factory.- Parameters:
id- the id- Returns:
- the application context factory
-