Package org.bonitasoft.engine.tenant
Class TenantElementsRestartSupervisorLocal
java.lang.Object
org.bonitasoft.engine.tenant.TenantElementsRestartSupervisorLocal
- All Implemented Interfaces:
LifecycleService,TenantLifecycleService,TenantElementsRestartSupervisor
@Component
@ConditionalOnSingleCandidate(TenantElementsRestartSupervisor.class)
public class TenantElementsRestartSupervisorLocal
extends Object
implements TenantLifecycleService, TenantElementsRestartSupervisor
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bonitasoft.engine.commons.LifecycleService
resumeMethods inherited from interface org.bonitasoft.engine.commons.TenantLifecycleService
init
-
Constructor Details
-
TenantElementsRestartSupervisorLocal
public TenantElementsRestartSupervisorLocal()
-
-
Method Details
-
start
Description copied from interface:LifecycleServiceStart the service- Specified by:
startin interfaceLifecycleService- Throws:
SBonitaException
-
stop
public void stop()- Specified by:
stopin interfaceLifecycleService
-
pause
public void pause()Description copied from interface:LifecycleServiceTemporary halt the execution of this service.- Specified by:
pausein interfaceLifecycleService
-
shouldRestartElements
public boolean shouldRestartElements()- Specified by:
shouldRestartElementsin interfaceTenantElementsRestartSupervisor
-
willRestartElements
public boolean willRestartElements()- Specified by:
willRestartElementsin interfaceTenantElementsRestartSupervisor
-
isResponsibleForRecovery
public boolean isResponsibleForRecovery()- Specified by:
isResponsibleForRecoveryin interfaceTenantElementsRestartSupervisor
-