public static interface DomainManager.StateListener
| Modifier and Type | Method and Description |
|---|---|
void |
removed(DomainManager manager,
DomainManagementException exception)
This method will be called when the listener is removed from the DomainManager.
|
void |
stateChanged(DomainManager manager,
DomainManager.State state)
Notify the listener that the state has changed.
|
void stateChanged(DomainManager manager, DomainManager.State state)
manager - The manager that this listener is added to.state - The current state.void removed(DomainManager manager, DomainManagementException exception)
manager - The manager that this listener has been removed from.exception - The exception that caused the listener to be removed or null if it was removed normally.