|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.j2ep.ConfigParser
public class ConfigParser
The config parser uses Digester to parse the config file. A rule chain with links to the servers will be constructed. Based on the work by Yoav Shapira for the balancer webapp distributed with Tomcat.
Constructor Summary | |
---|---|
ConfigParser(java.io.File data)
Standard constructor only specifying the input file. |
Method Summary | |
---|---|
ServerChain |
getServerChain()
Returns the parsed server chain. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigParser(java.io.File data)
data
- The config file containing the XML data structure.Method Detail |
---|
public ServerChain getServerChain()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |