Instances of classes implementing this contract can be registered into the habitat to be informed of events of RunLevelServices within the same habitat.
Note that RunLevelService implementations may be asynchronous, so RunLevelListeners should be thread safe. Additionally, you are discouraged from performing lengthy operations in the listener since that may impact the performance of the RunLevelService calling the listener on the same thread.
All RunLevelListeners get called for all RunLevel events on the same habitat. It is therefore the caller's responsibility to distinguish the RunLevelState(s) of their interest. @author Jeff Trent @since 3.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|