Class DeleteServiceCommand

java.lang.Object
com.sun.enterprise.admin.cli.CLICommand
com.sun.enterprise.admin.servermgmt.cli.DeleteServiceCommand
All Implemented Interfaces:
org.glassfish.hk2.api.PostConstruct

@Service(name="_delete-service") @PerLookup public final class DeleteServiceCommand extends com.sun.enterprise.admin.cli.CLICommand
Delete a "service" in the operating system.
Since:
November 18, 2010
Author:
Byron Nevins
  • Field Summary

    Fields inherited from class com.sun.enterprise.admin.cli.CLICommand

    argv, commandModel, CONNECTION_ERROR, env, ERROR, INVALID_COMMAND_ERROR, logger, metadataErrors, name, operands, options, passwords, programOpts, SUCCESS, WARNING
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected int
     
    protected void
     

    Methods inherited from class com.sun.enterprise.admin.cli.CLICommand

    checkHelp, execute, expandManPage, getBooleanOption, getBriefCommandUsage, getCommand, getCommand, getCommandScope, getCommandUsage, getManPage, getName, getOperandModel, getOption, getOptions, getPassword, getPassword, getProgramOptions, getSystemProperties, getSystemProperty, getUsage, initializeLogger, initializePasswords, inject, ok, parse, postConstruct, prepare, prevalidate, printExceptionStackTrace, processProgramOptions, quote, readPassword, setCommandScope, toString, usageOptions

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DeleteServiceCommand

      public DeleteServiceCommand()
  • Method Details

    • validate

      protected void validate() throws org.glassfish.api.admin.CommandException
      Overrides:
      validate in class com.sun.enterprise.admin.cli.CLICommand
      Throws:
      org.glassfish.api.admin.CommandException
    • executeCommand

      protected int executeCommand() throws org.glassfish.api.admin.CommandException
      Specified by:
      executeCommand in class com.sun.enterprise.admin.cli.CLICommand
      Throws:
      org.glassfish.api.admin.CommandException