public interface DaemonService
Defines an API that makes it possible to define daemons of a URCap within PolyScope.
Modifier and Type | Method and Description |
---|---|
URL |
getExecutable()
Implement getExecutable so that it returns an URL to the daemon executable resource inside the jar
that contains the implementation of DaemonService.
|
void |
init(DaemonContribution daemon)
The init method is called from PolyScope when the daemon service is registered by
PolyScope.
|
void init(DaemonContribution daemon)
The init method is called from PolyScope when the daemon service is registered by
PolyScope. The DaemonContribution
object control is set by PolyScope. The object can be used to install,
start, stop, and monitor the registered daemon.
daemon
- - object that is used to install, control, and monitor the registered daemonURL getExecutable()
Implement getExecutable so that it returns an URL to the daemon executable resource inside the jar that contains the implementation of DaemonService.
Copyright © 2018. All rights reserved.