|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceStateListener
This interface can be used to register a service state listener. Service state listeners are called whenever a service state changes. You get notified when the service is starting, started, stopping and stopped. Each callback includes a reference to the service in question.
Method Summary | |
---|---|
void |
started(Service service)
Called when the service is started. |
void |
starting(Service service)
Called when the service is starting. |
void |
stopped(Service service)
Called when the service is stopped. |
void |
stopping(Service service)
Called when the service is stopping. |
Method Detail |
---|
void starting(Service service)
service
- the servicevoid started(Service service)
service
- the servicevoid stopping(Service service)
service
- the servicevoid stopped(Service service)
service
- the service
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |