|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.management.subsystems.SwitchableApplicationContextFactory.SwitchableState
protected class SwitchableApplicationContextFactory.SwitchableState
Represents the state of a SwitchableApplicationContextFactory
.
Constructor Summary | |
---|---|
protected |
SwitchableApplicationContextFactory.SwitchableState(java.lang.String sourceBeanName)
Instantiates a new switchable state. |
Method Summary | |
---|---|
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 SwitchableApplicationContextFactory.SwitchableState(java.lang.String sourceBeanName)
sourceBeanName
- the source bean nameMethod Detail |
---|
public void start()
PropertyBackedBeanState
start
in interface PropertyBackedBeanState
public void stop()
PropertyBackedBeanState
stop
in interface PropertyBackedBeanState
public org.springframework.context.ApplicationContext getApplicationContext()
public java.lang.String getProperty(java.lang.String name)
PropertyBackedBeanState
getProperty
in interface PropertyBackedBeanState
name
- the name
public java.util.Set getPropertyNames()
PropertyBackedBeanState
getPropertyNames
in interface PropertyBackedBeanState
public void setProperty(java.lang.String name, java.lang.String value)
PropertyBackedBeanState
PropertyBackedBeanState.stop()
and should only be called for
property names for which the #isUpdateable(String)
method returns true
.
setProperty
in interface PropertyBackedBeanState
name
- the property namevalue
- the property value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |