public interface ProcessManagerStatusProvider
ProcessManagers that support the publication of shell
status changes.
Implementations are not required to provide any guarantees with respect to the order in which notifications are delivered to listeners.
Implementations must permit modification of the listener list, even while delivering event notifications to listeners. However, listeners do not receive any guarantee that their addition or removal from the listener list will be effective or not for any event notification that is currently proceeding.
Implementations must ensure that status notifications are only delivered when an actual change has taken place.
| Modifier and Type | Method and Description |
|---|---|
void |
addProcessManagerStatusListener(ProcessManagerStatusListener processManagerStatusListener)
Registers a new status listener.
|
ProcessManagerStatus |
getProcessManagerStatus()
Returns the current
ProcessManager. |
void |
removeProcessManagerStatusListener(ProcessManagerStatusListener processManagerStatusListener)
Removes an existing status listener.
|
void addProcessManagerStatusListener(ProcessManagerStatusListener processManagerStatusListener)
processManagerStatusListener - to register (cannot be null)ProcessManagerStatus getProcessManagerStatus()
ProcessManager.void removeProcessManagerStatusListener(ProcessManagerStatusListener processManagerStatusListener)
If the presented status listener is not found, the method returns without exception.
processManagerStatusListener - to remove (cannot be null)Copyright © 2009–2016. All rights reserved.