Interface for a service. Implemented by jexler and jexler container and by services used by jexlers.
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.String |
getId()Get service id. |
|
ServiceState |
getState()Get service state. |
|
void |
start()Initiate service start. |
|
void |
stop()Initiate service stop. |
|
void |
zap()Forcefully terminate service, as far as possible; should not wait for anything, nor throw anything. |
Get service id.
Get service state.
Initiate service start.
Initiate service stop.
Forcefully terminate service, as far as possible; should not wait for anything, nor throw anything.