public interface Service
Modifier and Type | Method and Description |
---|---|
boolean |
isRunning()
Checks to see if the service is still running.
|
void |
start()
Starts the service.
|
void |
stop()
Stops the service.
|
void start() throws Exception
Exception
- if there was a problem starting the servicevoid stop()
boolean isRunning()
true
if the service is running, false
otherwise.