Changeset 32449
- Timestamp:
- 2018-09-13T14:08:46+12:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/collection/ServiceCluster.java
r31061 r32449 32 32 import org.greenstone.gsdl3.util.DisplayItemUtil; 33 33 import org.greenstone.gsdl3.util.GSFile; 34 import org.greenstone.gsdl3.util.GSParams; 34 35 import org.greenstone.gsdl3.util.GSPath; 35 36 import org.greenstone.gsdl3.util.GSXML; … … 105 106 //protected Element plugin_item_list = null; 106 107 108 /** the list of params */ 109 protected GSParams params = null; 110 107 111 protected Element _globalFormat = null; 108 112 … … 142 146 { 143 147 this.router = m; 148 } 149 150 public void setParams(GSParams params) 151 { 152 this.params = params; 144 153 } 145 154 … … 292 301 293 302 } 303 294 304 /** 295 305 * adds metadata from a metadataList into the metadata_list xml … … 399 409 return true; 400 410 } 411 401 412 protected void clearServices() 402 413 { … … 416 427 /** 417 428 * creates and configures all the services - extra_info is some more xml 418 * that is passed to t ehservice - eg used for coll config files for429 * that is passed to the service - eg used for coll config files for 419 430 * Collection 420 431 */ … … 485 496 if (s.configure(n, extra_info)) 486 497 { 498 // store any params we need to save 499 if (this.params == null) { 500 logger.error("params is null in SC!!!!!"); 501 } else { 502 s.addServiceParameters(this.params); 503 } 487 504 // find out the supported service types for this service module 488 505 Node types = s.process(message);
Note:
See TracChangeset
for help on using the changeset viewer.