java.util.EventListenerpublic interface ServiceStateListener
extends java.util.EventListener
| Modifier and Type | Method | Description |
|---|---|---|
void |
paused() |
This method is called when the service is paused for a period of time.
|
void |
paused(long millis) |
This method is called when the service is paused.
|
void |
restarted() |
This method is called when the service is restarted.
|
void |
resumed() |
This method is called when the service is resumed.
|
void |
started() |
This method is called when the service is started.
|
void |
stopped() |
This method is called when the service is stopped.
|
void started()
void restarted()
void paused(long millis)
millis - the number of seconds the service should pause executionvoid paused()
void resumed()
void stopped()
Copyright © 2008–2018 The Aspectran Project. All rights reserved.