Package org.bonitasoft.engine.commons
Interface LifecycleService
-
- All Known Subinterfaces:
PlatformLifecycleService,TenantLifecycleService
- All Known Implementing Classes:
BonitaTaskExecutor
public interface LifecycleService
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidpause()Temporary halt the execution of this service.default voidresume()resume the execution the servicedefault voidstart()Start the servicedefault voidstop()
-
-
-
Method Detail
-
start
default void start() throws SBonitaExceptionStart the service- Throws:
SBonitaException
-
stop
default void stop() throws SBonitaException- Throws:
SBonitaException
-
pause
default void pause() throws SBonitaExceptionTemporary halt the execution of this service.- Throws:
SBonitaException
-
resume
default void resume() throws SBonitaExceptionresume the execution the service- Throws:
SBonitaException
-
-