com.caucho.boot
Class AbstractRepositoryCommand

java.lang.Object
  extended by com.caucho.boot.AbstractBootCommand
      extended by com.caucho.boot.AbstractRemoteCommand
          extended by com.caucho.boot.AbstractRepositoryCommand
All Implemented Interfaces:
BootCommand
Direct Known Subclasses:
AbstractDeployCatCommand, AbstractDeployCommand, AbstractDeployLsCommand, ConfigUndeployCommand, DeployCopyCommand, DeployListCommand, UndeployCommand, WebAppCommand, WebAppUndeployCommand

public abstract class AbstractRepositoryCommand
extends AbstractRemoteCommand


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

Constructor Detail

AbstractRepositoryCommand

public AbstractRepositoryCommand()
Method Detail

initBootOptions

protected void initBootOptions()
Overrides:
initBootOptions in class AbstractRemoteCommand

doCommand

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

doCommand

protected abstract int doCommand(com.caucho.boot.WatchdogArgs args,
                                 com.caucho.boot.WatchdogClient client,
                                 WebAppDeployClient deployClient)

getDeployClient

protected WebAppDeployClient getDeployClient(com.caucho.boot.WatchdogArgs args,
                                             com.caucho.boot.WatchdogClient client)