com.caucho.boot
Class StartAllCommand

java.lang.Object
  extended by com.caucho.boot.AbstractBootCommand
      extended by com.caucho.boot.AbstractStartCommand
          extended by com.caucho.boot.StartAllCommand
All Implemented Interfaces:
BootCommand

public class StartAllCommand
extends AbstractStartCommand

Command to start Resin server bin/resin.sh start-all


Constructor Summary
protected StartAllCommand()
           
 
Method Summary
 int doCommand(ResinBoot boot, com.caucho.boot.WatchdogArgs args)
           
 int doCommand(com.caucho.boot.WatchdogArgs args, com.caucho.boot.WatchdogClient client)
           
 void doWatchdogStart(com.caucho.boot.WatchdogManager manager)
           
protected  com.caucho.boot.WatchdogClient findLocalClient(ResinBoot boot, com.caucho.boot.WatchdogArgs args)
           
protected  com.caucho.boot.WatchdogClient findWatchdogClient(ResinBoot boot, com.caucho.boot.WatchdogArgs args)
           
 java.lang.String getDescription()
           
 boolean isRetry()
           
 boolean isStart()
           
 boolean isStartAll()
           
 
Methods inherited from class com.caucho.boot.AbstractStartCommand
findNamedClient, getServerUsageArg, initBootOptions
 
Methods inherited from class com.caucho.boot.AbstractBootCommand
addFlagOption, addIntValueOption, addOption, addOption, addSpacerOption, addSubsectionHeaderOption, addValueOption, addValueOption, findClient, findLocalClientImpl, findNamedClientImpl, findUniqueLocalClient, findWatchdogClientImpl, getName, getOptionUsage, getUsageArgs, isConsole, isDefaultArgsAccepted, isFlag, isIntValueOption, isProOnly, isRemote, isShutdown, isValueOption, toString, usage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StartAllCommand

protected StartAllCommand()
Method Detail

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface BootCommand
Overrides:
getDescription in class AbstractBootCommand

isStart

public boolean isStart()
Specified by:
isStart in interface BootCommand
Overrides:
isStart in class AbstractBootCommand

isStartAll

public boolean isStartAll()
Specified by:
isStartAll in interface BootCommand
Overrides:
isStartAll in class AbstractBootCommand

doCommand

public int doCommand(ResinBoot boot,
                     com.caucho.boot.WatchdogArgs args)
              throws BootArgumentException
Specified by:
doCommand in interface BootCommand
Overrides:
doCommand in class AbstractStartCommand
Throws:
BootArgumentException

findLocalClient

protected com.caucho.boot.WatchdogClient findLocalClient(ResinBoot boot,
                                                         com.caucho.boot.WatchdogArgs args)
Overrides:
findLocalClient in class AbstractStartCommand

findWatchdogClient

protected com.caucho.boot.WatchdogClient findWatchdogClient(ResinBoot boot,
                                                            com.caucho.boot.WatchdogArgs args)
Overrides:
findWatchdogClient in class AbstractStartCommand

doCommand

public int doCommand(com.caucho.boot.WatchdogArgs args,
                     com.caucho.boot.WatchdogClient client)
              throws BootArgumentException
Overrides:
doCommand in class AbstractBootCommand
Throws:
BootArgumentException

doWatchdogStart

public void doWatchdogStart(com.caucho.boot.WatchdogManager manager)
Specified by:
doWatchdogStart in interface BootCommand
Overrides:
doWatchdogStart in class AbstractStartCommand

isRetry

public boolean isRetry()
Specified by:
isRetry in interface BootCommand
Overrides:
isRetry in class AbstractStartCommand