protected class DefaultChildApplicationContextManager.ApplicationContextManagerState extends Object implements PropertyBackedBeanState
| Modifier | Constructor and Description |
|---|---|
protected |
ApplicationContextManagerState(String defaultChain,
String defaultTypeName)
Instantiates a new application context manager state.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.context.ApplicationContext |
getApplicationContext(String id)
Gets the application context.
|
protected ChildApplicationContextFactory |
getApplicationContextFactory(String id)
Gets the application context factory.
|
Collection<String> |
getInstanceIds()
Gets the instance ids.
|
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.
|
public String getProperty(String name)
PropertyBackedBeanStategetProperty in interface PropertyBackedBeanStatename - the namepublic Set<String> getPropertyNames()
PropertyBackedBeanStategetPropertyNames in interface PropertyBackedBeanStatepublic void setProperty(String name, String value)
PropertyBackedBeanStatePropertyBackedBeanState.stop().setProperty in interface PropertyBackedBeanStatename - the property namevalue - the property valuepublic void removeProperty(String name)
PropertyBackedBeanStatePropertyBackedBeanState.stop().removeProperty in interface PropertyBackedBeanStatename - the property namepublic void start()
PropertyBackedBeanStatestart in interface PropertyBackedBeanStatepublic void stop()
PropertyBackedBeanStatestop in interface PropertyBackedBeanStatepublic Collection<String> getInstanceIds()
public org.springframework.context.ApplicationContext getApplicationContext(String id)
id - the idprotected ChildApplicationContextFactory getApplicationContextFactory(String id)
id - the idCopyright © 2005–2018 Alfresco Software. All rights reserved.