public static interface Watch.Service extends Service
Once created, this instance cannot be changed. Configuration is done at creation time.
Instances of this interface can be used with the Services class for
automatically registering with a JVM shutdown hook at start time.
| Modifier and Type | Method and Description |
|---|---|
void |
startService()
Starts this watch service.
|
void |
stopService()
Stops this watch service.
|
void startService()
throws IOException
startService in interface ServiceIOException - if an I/O error occursvoid stopService()
throws IOException
stopService in interface ServiceIOException - if an I/O error occursCopyright © 2021–2022 Objectos Software LTDA. All rights reserved.