Package com.sun.enterprise.config.serverbeans.validation

Examples of com.sun.enterprise.config.serverbeans.validation.DomainXmlVerifier


            if(!f.exists())
          throw new CommandException(getLocalizedString("DomainXMLDoesNotExist",
                                                               new Object[]{getDomainName()}));
            else {
                try {
                    DomainXmlVerifier validator = new DomainXmlVerifier(domainXMLFile);
                    validator.setDebug(verbose);               
                    validator.invokeConfigValidator();
                    CLILogger.getInstance().printDetailMessage(getLocalizedString(
                                                               "CommandSuccessful",
                                                               new Object[] {name}));
                } catch(Exception e){
                    throw new CommandException(e.getMessage());
View Full Code Here

TOP

Related Classes of com.sun.enterprise.config.serverbeans.validation.DomainXmlVerifier

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.