Package com.sun.enterprise.diagnostics.collect

Examples of com.sun.enterprise.diagnostics.collect.DomainXMLHelper


        String agentRepository = repositoryDir + EEConstants.AGENT_DIR;
        File agentDir = new File(agentRepository);
        if(agentDir.exists())
            repositoryDir = agentRepository;
       
        return new DomainXMLHelper(repositoryDir).getAttrs();
    }
View Full Code Here


    /**
     * Initialize XML elements
     */
    private void initializeXMLElements() throws DiagnosticException {
        try {
            xmlHelper = new DomainXMLHelper(repositoryDir);
            Element element =  xmlHelper.getElement("server", instanceName);
            configName = xmlHelper.getAttribute(element, "config-ref");
            configElement = xmlHelper.getElement("config", configName);
            diagnosticElement = xmlHelper.getElement(configElement,
                                                    "diagnostic-service");
View Full Code Here

     * @return list of attributes being masked with ****
     * @throw DiagnosticException
     */
    public List<String> getConfidentialProperties(String repositoryDir)
    throws DiagnosticException {
       return new DomainXMLHelper(repositoryDir).getAttrs();
    }
View Full Code Here

TOP

Related Classes of com.sun.enterprise.diagnostics.collect.DomainXMLHelper

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.