public class StoreConfigurationChangeListener extends Object implements ConfigurationChangeListener
Constructor and Description |
---|
StoreConfigurationChangeListener(DurableConfigurationStore store) |
Modifier and Type | Method and Description |
---|---|
void |
attributeSet(ConfiguredObject object,
String attributeName,
Object oldAttributeValue,
Object newAttributeValue) |
void |
bulkChangeEnd(ConfiguredObject<?> object)
Inform the listener that the changes announced by bulkChangeStart are complete.
|
void |
bulkChangeStart(ConfiguredObject<?> object)
Inform the listener that several attributes of an object are about to change.
|
void |
childAdded(ConfiguredObject<?> object,
ConfiguredObject<?> child) |
void |
childRemoved(ConfiguredObject object,
ConfiguredObject child) |
void |
stateChanged(ConfiguredObject object,
State oldState,
State newState)
Inform the listener that the passed object has changed state
|
String |
toString() |
public StoreConfigurationChangeListener(DurableConfigurationStore store)
public void stateChanged(ConfiguredObject object, State oldState, State newState)
ConfigurationChangeListener
stateChanged
in interface ConfigurationChangeListener
object
- the object whose state has changedoldState
- the state prior to the changenewState
- the state after the changepublic void childAdded(ConfiguredObject<?> object, ConfiguredObject<?> child)
childAdded
in interface ConfigurationChangeListener
public void bulkChangeStart(ConfiguredObject<?> object)
ConfigurationChangeListener
bulkChangeStart
in interface ConfigurationChangeListener
object
- the object whose state is about to changeConfigurationChangeListener.bulkChangeEnd(org.apache.qpid.server.model.ConfiguredObject<?>)
public void bulkChangeEnd(ConfiguredObject<?> object)
ConfigurationChangeListener
bulkChangeEnd
in interface ConfigurationChangeListener
object
- the object whose state has changedConfigurationChangeListener.bulkChangeStart(org.apache.qpid.server.model.ConfiguredObject<?>)
public void childRemoved(ConfiguredObject object, ConfiguredObject child)
childRemoved
in interface ConfigurationChangeListener
public void attributeSet(ConfiguredObject object, String attributeName, Object oldAttributeValue, Object newAttributeValue)
attributeSet
in interface ConfigurationChangeListener
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.