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)
PropertyBackedBeanState
getProperty
in interface PropertyBackedBeanState
name
- the namepublic Set<String> getPropertyNames()
PropertyBackedBeanState
getPropertyNames
in interface PropertyBackedBeanState
public void setProperty(String name, String value)
PropertyBackedBeanState
PropertyBackedBeanState.stop()
.setProperty
in interface PropertyBackedBeanState
name
- the property namevalue
- the property valuepublic void removeProperty(String name)
PropertyBackedBeanState
PropertyBackedBeanState.stop()
.removeProperty
in interface PropertyBackedBeanState
name
- the property namepublic void start()
PropertyBackedBeanState
start
in interface PropertyBackedBeanState
public void stop()
PropertyBackedBeanState
stop
in interface PropertyBackedBeanState
public Collection<String> getInstanceIds()
public org.springframework.context.ApplicationContext getApplicationContext(String id)
id
- the idprotected ChildApplicationContextFactory getApplicationContextFactory(String id)
id
- the idCopyright © 2005–2017 Alfresco Software. All rights reserved.