com.caucho.env.deploy
Class StartAutoRedeployManualStrategy

java.lang.Object
  extended by com.caucho.env.deploy.AbstractDeployControllerStrategy
      extended by com.caucho.env.deploy.StartManualRedeployManualStrategy
          extended by com.caucho.env.deploy.StartAutoRedeployManualStrategy
All Implemented Interfaces:
DeployControllerStrategy

@Module
public class StartAutoRedeployManualStrategy
extends StartManualRedeployManualStrategy

The start-mode="auto", redeploy-model="manual" controller strategy. initial state = stop

input stopped active modified error
start startImpl- restartImplrestartImpl
update startImpl- restartImplrestartImpl
stop - stopImplstopImpl stopImpl
request- - - -
include- - - -
alarm - - - -


Field Summary
static StartAutoRedeployManualStrategy STRATEGY
           
 
Method Summary
static DeployControllerStrategy create()
          Returns the start="lazy" redeploy="automatic" strategy
<I extends DeployInstance>
void
startOnInit(DeployController<I> controller)
          Called at initialization time for automatic start.
 
Methods inherited from class com.caucho.env.deploy.StartManualRedeployManualStrategy
alarm, request, subrequest, update
 
Methods inherited from class com.caucho.env.deploy.AbstractDeployControllerStrategy
start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STRATEGY

public static final StartAutoRedeployManualStrategy STRATEGY
Method Detail

create

public static DeployControllerStrategy create()
Returns the start="lazy" redeploy="automatic" strategy

Returns:
the singleton strategy

startOnInit

public <I extends DeployInstance> void startOnInit(DeployController<I> controller)
Called at initialization time for automatic start.

Specified by:
startOnInit in interface DeployControllerStrategy
Overrides:
startOnInit in class StartManualRedeployManualStrategy
Parameters:
controller - the owning controller