com.caucho.boot
Class KillCommand

java.lang.Object
  extended by com.caucho.boot.AbstractBootCommand
      extended by com.caucho.boot.AbstractStopCommand
          extended by com.caucho.boot.KillCommand
All Implemented Interfaces:
BootCommand

public class KillCommand
extends AbstractStopCommand

Command to stop Resin server bin/resin.sh kill -server a


Constructor Summary
KillCommand()
           
 
Method Summary
 int doCommand(com.caucho.boot.WatchdogArgs args, com.caucho.boot.WatchdogClient client)
           
 java.lang.String getDescription()
           
 boolean isRetry()
           
 
Methods inherited from class com.caucho.boot.AbstractStopCommand
getServerUsageArg
 
Methods inherited from class com.caucho.boot.AbstractBootCommand
addFlagOption, addIntValueOption, addOption, addValueOption, doCommand, getName, getOptionUsage, getUsageArgs, isConsole, isDefaultArgsAccepted, isFlag, isIntValueOption, isProOnly, isRemote, isShutdown, isStart, isValueOption, toString, usage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KillCommand

public KillCommand()
Method Detail

getDescription

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

doCommand

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

isRetry

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