Class VerifyDomainXmlCommand

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

@Service(name="verify-domain-xml") @PerLookup public final class VerifyDomainXmlCommand extends LocalDomainCommand
Implementation for the CLI command verify-domain-xml Verifies the content of the domain.xml file verify-domain-xml [--domaindir install_dir/domains] [domain_name]
Author:
Nandini Ektare
  • Constructor Details

    • VerifyDomainXmlCommand

      public VerifyDomainXmlCommand()
  • 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