Package org.apache.qpid.server.model
Interface ConfigurationChangeListener
-
- All Known Implementing Classes:
AbstractConfigurationChangeListener
,StoreConfigurationChangeListener
public interface ConfigurationChangeListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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
-
-
-
Method Detail
-
stateChanged
void stateChanged(ConfiguredObject<?> object, State oldState, State newState)
Inform the listener that the passed object has changed state- Parameters:
object
- the object whose state has changedoldState
- the state prior to the changenewState
- the state after the change
-
childAdded
void childAdded(ConfiguredObject<?> object, ConfiguredObject<?> child)
-
childRemoved
void childRemoved(ConfiguredObject<?> object, ConfiguredObject<?> child)
-
attributeSet
void attributeSet(ConfiguredObject<?> object, String attributeName, Object oldAttributeValue, Object newAttributeValue)
-
bulkChangeStart
void bulkChangeStart(ConfiguredObject<?> object)
Inform the listener that several attributes of an object are about to change. The listener may choose to defer any action in attributeSet until bulkChangeEnd is called. There should not be multiple calls to bulkChangeStart without matching bulkChangeEnd calls in between. There should be no calls to attributeSet for objects other than the one passed as an argument until bulkChangeEnd is called. There should be no call to childRemove between bulkChangeStart/-End calls.- Parameters:
object
- the object whose state is about to change- See Also:
bulkChangeEnd(org.apache.qpid.server.model.ConfiguredObject<?>)
-
bulkChangeEnd
void bulkChangeEnd(ConfiguredObject<?> object)
Inform the listener that the changes announced by bulkChangeStart are complete. The listener who has chosen to defer any action in attributeSet after bulkChangeStart was called should now act on those changes. A call to bulkChangeEnd without a prior matching call to bulkChangeStart should have no effect.- Parameters:
object
- the object whose state has changed- See Also:
bulkChangeStart(org.apache.qpid.server.model.ConfiguredObject<?>)
-
-