Package org.bonitasoft.engine.commons
Interface LifecycleService
-
- All Known Subinterfaces:
ApplicationService,BusinessDataRepository,CacheService,ClassLoaderService,CommandService,ConnectorExecutor,PageService,PermissionService,PlatformCacheService,PlatformLifecycleService,SchedulerService,TenantLifecycleService,WorkExecutorService,WorkService
- All Known Implementing Classes:
ApplicationImporter,ApplicationServiceImpl,BonitaTaskExecutor,ClassLoaderServiceImpl,CommandServiceImpl,ConnectorExecutorImpl,EhCacheCacheService,JPABusinessDataRepositoryImpl,MessagesHandlingService,PageServiceImpl,PermissionServiceImpl,PlatformEhCacheCacheService,RetryingWorkExecutorService,SchedulerServiceImpl,TenantElementsRestartSupervisorLocal,TimeTracker,WorkServiceImpl
public interface LifecycleService- Author:
- Baptiste Mesta
-
-
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
-
-