public interface ServiceLifecycle| Modifier and Type | Method and Description | 
|---|---|
| void | postStart()Performs service post initialization with other services available within the same context, start sub services or processes, e.g. | 
| void | preStart()Performs service pre-initialization in Init state. | 
| void | restart()Restarts an Inactive service, after restart, service becomes Active again. | 
| void | start()Initializes service with bootstrap services, e.g. | 
| void | stop()Stops service and the service becomes Inactive. | 
| void | terminate()Completely terminate the service. | 
void preStart()
       throws JpsException
JpsExceptionvoid start()
    throws JpsException
JpsExceptionvoid postStart()
        throws JpsException
JpsExceptionvoid stop() throws JpsException
JpsExceptionvoid restart()
      throws JpsException
JpsExceptionvoid terminate()
        throws JpsException
JpsException