Changeset 11269
- Timestamp:
- 2006-02-16T13:42:10+13:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/core/MessageRouter.java
r11012 r11269 77 77 78 78 // should these things be separated into local and remote?? 79 80 /** the original xml config element */ 81 public Element config_info = null; 79 82 80 83 /** list of collections that can be reached */ … … 175 178 } 176 179 177 Element config_elem= config_doc.getDocumentElement();180 config_info = config_doc.getDocumentElement(); 178 181 179 182 this.module_map = new HashMap(); 180 183 181 184 // load up the services 182 Element service_rack_list = (Element)GSXML.getChildByTagName(config_ elem, GSXML.SERVICE_CLASS_ELEM+GSXML.LIST_MODIFIER);185 Element service_rack_list = (Element)GSXML.getChildByTagName(config_info, GSXML.SERVICE_CLASS_ELEM+GSXML.LIST_MODIFIER); 183 186 configureServices(service_rack_list); 184 187 185 188 // load up the service clusters 186 Element cluster_list = (Element)GSXML.getChildByTagName(config_ elem, GSXML.CLUSTER_ELEM+GSXML.LIST_MODIFIER);189 Element cluster_list = (Element)GSXML.getChildByTagName(config_info, GSXML.CLUSTER_ELEM+GSXML.LIST_MODIFIER); 187 190 configureClusters(cluster_list); 188 191 … … 191 194 192 195 // load up the external sites - this also adds their services/clusters/collections to the other lists - so must be done last 193 Element site_list = (Element)GSXML.getChildByTagName(config_ elem, GSXML.SITE_ELEM+GSXML.LIST_MODIFIER);196 Element site_list = (Element)GSXML.getChildByTagName(config_info, GSXML.SITE_ELEM+GSXML.LIST_MODIFIER); 194 197 configureSites(site_list); 195 198
Note:
See TracChangeset
for help on using the changeset viewer.