org.rhq.plugins.apache.parser
Class ApacheParserImpl

java.lang.Object
  extended by org.rhq.plugins.apache.parser.ApacheParserImpl
All Implemented Interfaces:
ApacheParser

public class ApacheParserImpl
extends Object
implements ApacheParser

Author:
Filip Drabek, Lukas Krejci

Constructor Summary
ApacheParserImpl(ApacheDirectiveTree tree, String initialServerRootPath, RuntimeApacheConfiguration.NodeInspector nodeInspector)
           
 
Method Summary
 void addDirective(ApacheDirective directive)
           
 void endNestedDirective(ApacheDirective directive)
           
 void startNestedDirective(ApacheDirective directive)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApacheParserImpl

public ApacheParserImpl(ApacheDirectiveTree tree,
                        String initialServerRootPath,
                        RuntimeApacheConfiguration.NodeInspector nodeInspector)
Parameters:
tree - the tree that this parser will fill in
initialServerRootPath - the initial server root path as detected by other means
nodeInspector - the node inspector to determine the runtime configuration or null, if full configuration tree is needed
Method Detail

addDirective

public void addDirective(ApacheDirective directive)
                  throws Exception
Specified by:
addDirective in interface ApacheParser
Throws:
Exception

endNestedDirective

public void endNestedDirective(ApacheDirective directive)
Specified by:
endNestedDirective in interface ApacheParser

startNestedDirective

public void startNestedDirective(ApacheDirective directive)
Specified by:
startNestedDirective in interface ApacheParser


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.