@Module public class StartLazyRedeployManualStrategy extends StartManualRedeployManualStrategy
input | stopped | active | modified | error |
---|---|---|---|---|
start | startImpl | - | restartImpl | restartImpl |
update | startImpl | - | restartImpl | restartImpl |
stop | - | stopImpl | stopImpl | stopImpl |
request | - | - | - | - |
include | - | - | - | - |
alarm | - | - | - | - |
Modifier and Type | Field and Description |
---|---|
static StartLazyRedeployManualStrategy |
STRATEGY |
Modifier and Type | Method and Description |
---|---|
static DeployControllerStrategy |
create()
Returns the start="lazy" redeploy="automatic" strategy
|
<I extends DeployInstance> |
request(DeployController<I> controller)
Returns the current instance, redeploying if necessary.
|
<I extends DeployInstance> |
startOnInit(DeployController<I> controller)
Called at initialization time for automatic start.
|
<I extends DeployInstance> |
subrequest(DeployController<I> controller)
Returns the current instance, starting if necessary.
|
alarm, update
start, stop
public static final StartLazyRedeployManualStrategy STRATEGY
public static DeployControllerStrategy create()
public <I extends DeployInstance> void startOnInit(DeployController<I> controller)
startOnInit
in interface DeployControllerStrategy
startOnInit
in class StartManualRedeployManualStrategy
controller
- the owning controllerpublic <I extends DeployInstance> I request(DeployController<I> controller)
request
in interface DeployControllerStrategy
request
in class StartManualRedeployManualStrategy
controller
- the owning controllerpublic <I extends DeployInstance> I subrequest(DeployController<I> controller)
subrequest
in interface DeployControllerStrategy
subrequest
in class StartManualRedeployManualStrategy
controller
- the owning controller