@Component public class TenantElementsRestartSupervisorLocal extends java.lang.Object implements TenantLifecycleService, TenantElementsRestartSupervisor
| Constructor and Description |
|---|
TenantElementsRestartSupervisorLocal() |
| Modifier and Type | Method and Description |
|---|---|
void |
pause()
Temporary halt the execution of this service.
|
void |
resume()
resume the execution the service
|
boolean |
shouldRestartElements() |
void |
start()
Start the service
|
void |
stop() |
boolean |
willRestartElements() |
public TenantElementsRestartSupervisorLocal()
public void start()
throws SBonitaException
LifecycleServicestart in interface LifecycleServiceSBonitaExceptionpublic void stop()
stop in interface LifecycleServicepublic void pause()
LifecycleServicepause in interface LifecycleServicepublic void resume()
LifecycleServiceresume in interface LifecycleServicepublic boolean shouldRestartElements()
shouldRestartElements in interface TenantElementsRestartSupervisorpublic boolean willRestartElements()
willRestartElements in interface TenantElementsRestartSupervisor