Creates a new instance of LBCluster
instances = new ArrayList();
webModules = new ArrayList();
NodeList inEles = clusterElement.getElementsByTagName("instance");
for(int lh =0; lh < inEles.getLength(); lh++){
instances.add(new LBInstance((Element)inEles.item(lh)));
}
NodeList webEles = clusterElement.getElementsByTagName("web-module");
for(int ih =0; ih < webEles.getLength(); ih++){
webModules.add(new LBWebModule((Element)webEles.item(ih)));
}
NodeList helEles = clusterElement.getElementsByTagName("health-checker");
for(int ih =0; ih < helEles.getLength(); ih++){
// There should either zero or one health-checker.
healthChecker = new LBHealthChecker((Element)helEles.item(ih));
}