Package org.rhq.plugins.apache.parser

Examples of org.rhq.plugins.apache.parser.ApacheDirectiveTree.findByName()


        if (snmpIdx == 1) {
            return tree.getRootNode();
        }

        final List<ApacheDirective> allVhosts  = tree.findByName("<VirtualHost", true);
       
        //transform the SNMP index into the index of the vhost
        int idx = allVhosts.size() - snmpIdx + 1;

        return allVhosts.get(idx);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.