public interface ServiceListener extends EventListener
| Modifier and Type | Method and Description |
|---|---|
void |
serviceStarted(Service service)
Notifies listeners that a
Service has been started. |
void |
serviceStateChanged(Service service,
State oldState,
State newState)
|
void |
serviceStopped(Service service,
Throwable cause)
Notifies listeners that a
Service has been stopped. |
void serviceStarted(Service service)
Service has been started.service - The service that startedvoid serviceStateChanged(Service service, State oldState, State newState)
service - The service that changed its stateoldState - The old state of the servicenewState - The new state of the serviceCopyright © 2026. All rights reserved.