|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.management.subsystems.ChildApplicationContextFactory.ApplicationContextState
protected class ChildApplicationContextFactory.ApplicationContextState
The Class ApplicationContextState.
| Constructor Summary | |
|---|---|
protected |
ChildApplicationContextFactory.ApplicationContextState()
Instantiates a new application context state. |
| Method Summary | |
|---|---|
void |
destroy(boolean permanent)
Releases any resources held by this state. |
org.springframework.context.ApplicationContext |
getApplicationContext()
Gets the application context. |
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 |
|---|
protected ChildApplicationContextFactory.ApplicationContextState()
throws java.io.IOException
java.io.IOException - Signals that an I/O exception has occurred.| Method Detail |
|---|
public java.util.Set getPropertyNames()
PropertyBackedBeanState
getPropertyNames in interface PropertyBackedBeanStatepublic java.lang.String getProperty(java.lang.String name)
PropertyBackedBeanState
getProperty in interface PropertyBackedBeanStatename - the name
public void setProperty(java.lang.String name,
java.lang.String value)
PropertyBackedBeanStatePropertyBackedBeanState.stop() and should only be called for
property names for which the #isUpdateable(String) method returns true.
setProperty in interface PropertyBackedBeanStatename - the property namevalue - the property valuepublic void start()
PropertyBackedBeanState
start in interface PropertyBackedBeanStatepublic void stop()
PropertyBackedBeanState
stop in interface PropertyBackedBeanStatepublic void destroy(boolean permanent)
permanent - is the state being destroyed forever, i.e. should persisted values be removed? On server shutdown,
this value would be false, whereas on the removal of a dynamically created instance,
this value would be true.public org.springframework.context.ApplicationContext getApplicationContext()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||