Class ListDomainsCommand

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

@Service(name="list-domains") @PerLookup public final class ListDomainsCommand extends LocalDomainCommand
This is a local command that lists the domains.
  • Constructor Details

    • ListDomainsCommand

      public ListDomainsCommand()
  • Method Details

    • validate

      protected void validate() throws org.glassfish.api.admin.CommandException, org.glassfish.api.admin.CommandValidationException
      Overrides:
      validate in class LocalDomainCommand
      Throws:
      org.glassfish.api.admin.CommandException
      org.glassfish.api.admin.CommandValidationException
    • executeCommand

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