Changeset 10093 for trunk/gsdl3/src
- Timestamp:
- 2005-06-14T16:40:02+12:00 (19 years ago)
- Location:
- trunk/gsdl3/src/java/org/greenstone/gsdl3/service
- Files:
-
- 22 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/AbstractBrowse.java
r9280 r10093 75 75 public boolean configure(Element info, Element extra_info) 76 76 { 77 if (!super.configure(info, extra_info)){ 78 return false; 79 } 80 77 81 System.out.println("Configuring AbstractBrowse..."); 78 82 this.config_info = info; -
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/AbstractDocumentRetrieve.java
r9874 r10093 88 88 public boolean configure(Element info, Element extra_info) 89 89 { 90 if (!super.configure(info, extra_info)){ 91 return false; 92 } 93 90 94 System.out.println("Configuring AbstractDocumentRetrieve..."); 91 95 this.config_info = info; -
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/AbstractGS2DocumentRetrieve.java
r9874 r10093 74 74 public boolean configure(Element info, Element extra_info) 75 75 { 76 76 if (!super.configure(info, extra_info)){ 77 return false; 78 } 79 77 80 System.out.println("Configuring AbstractGS2DocumentRetrieve..."); 78 81 //this.config_info = info; … … 94 97 this.index_stem = this.cluster_name; 95 98 } 96 97 98 return super.configure(info, extra_info); 99 99 return true; 100 100 } 101 101 -
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/AbstractGS3DocumentRetrieve.java
r9874 r10093 72 72 public boolean configure(Element info, Element extra_info) 73 73 { 74 74 if (!super.configure(info, extra_info)){ 75 return false; 76 } 77 75 78 System.out.println("Configuring AbstractGS3DocumentRetrieve..."); 76 79 … … 104 107 } 105 108 106 return super.configure(info, extra_info);109 return true; 107 110 108 111 } -
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/AbstractSearch.java
r9902 r10093 87 87 public boolean configure(Element info, Element extra_info) 88 88 { 89 if (!super.configure(info, extra_info)){ 90 return false; 91 } 92 89 93 System.out.println("Configuring AbstractSearch..."); 90 94 -
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/GS2Browse.java
r9874 r10093 63 63 public boolean configure(Element info, Element extra_info) 64 64 { 65 if (!super.configure(info, extra_info)){ 66 return false; 67 } 68 65 69 System.err.println("Configuring GS2Browse..."); 66 70 // Open GDBM database for querying … … 70 74 return false; 71 75 } 72 return super.configure(info, extra_info);76 return true; 73 77 } 74 78 -
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/GS2Construct.java
r8955 r10093 326 326 */ 327 327 public boolean configure(Element info, Element extra_info) { 328 if (!super.configure(info, extra_info)){ 329 return false; 330 } 331 328 332 System.out.println("configuring GS2Construct"); 329 333 -
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/GS2MGPPRetrieve.java
r9874 r10093 58 58 public boolean configure(Element info, Element extra_info) 59 59 { 60 if (!super.configure(info, extra_info)){ 61 return false; 62 } 63 60 64 // Do specific configuration 61 65 System.out.println("Configuring GS2MGPPRetrieve..."); … … 77 81 78 82 // Do generic configuration 79 return super.configure(info, extra_info);83 return true; 80 84 81 85 } -
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/GS2MGPPSearch.java
r9874 r10093 52 52 public boolean configure(Element info, Element extra_info) 53 53 { 54 if (!super.configure(info, extra_info)){ 55 return false; 56 } 54 57 55 58 // Open GDBM database for querying … … 59 62 return false; 60 63 } 61 return super.configure(info, extra_info);64 return true; 62 65 } 63 66 /** returns the document type of the doc that the specified node -
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/GS2MGRetrieve.java
r9874 r10093 55 55 public boolean configure(Element info, Element extra_info) 56 56 { 57 if (!super.configure(info, extra_info)){ 58 return false; 59 } 60 57 61 // Do specific configuration 58 62 System.out.println("Configuring GS2MGRetrieve..."); … … 78 82 this.mg_src.setIndex(indexpath); 79 83 80 // Do generic configuration 81 return super.configure(info, extra_info); 84 return true; 82 85 } 83 86 -
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/GS2MGSearch.java
r9874 r10093 51 51 public boolean configure(Element info, Element extra_info) 52 52 { 53 if (!super.configure(info, extra_info)){ 54 return false; 55 } 53 56 54 57 // Open GDBM database for querying … … 58 61 return false; 59 62 } 60 return super.configure(info, extra_info);63 return true; 61 64 } 62 65 /** returns the document type of the doc that the specified node -
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/GS3Browse.java
r9874 r10093 59 59 public boolean configure(Element info, Element extra_info) 60 60 { 61 if (!super.configure(info, extra_info)){ 62 return false; 63 } 64 61 65 System.err.println("Configuring GS3Browse..."); 62 66 … … 79 83 } 80 84 81 // generic configure 82 return super.configure(info, extra_info); 85 return true; 83 86 } 84 87 -
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/GS3MGPPSearch.java
r9874 r10093 60 60 public boolean configure(Element info, Element extra_info) 61 61 { 62 62 if (!super.configure(info, extra_info)){ 63 return false; 64 } 65 63 66 // get the base prefix 64 67 Element def = (Element) GSXML.getChildByTagName(info, "baseIndexPrefix"); … … 80 83 } 81 84 82 return super.configure(info, extra_info);85 return true; 83 86 } 84 87 /** returns the document type of the doc that the specified node -
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/GS3MGSearch.java
r9874 r10093 60 60 public boolean configure(Element info, Element extra_info) 61 61 { 62 62 if (!super.configure(info, extra_info)){ 63 return false; 64 } 65 63 66 // get the base prefix 64 67 Element def = (Element) GSXML.getChildByTagName(info, "baseIndexPrefix"); … … 80 83 } 81 84 82 return super.configure(info, extra_info);85 return true; 83 86 } 84 87 /** returns the document type of the doc that the specified node -
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/IViaProxy.java
r9874 r10093 48 48 public boolean configure(Element info, Element extra_info) { 49 49 50 if (!super.configure(info, extra_info)){ 51 return false; 52 } 53 50 54 Element server_elem = (Element)GSXML.getChildByTagName(info, "iViaServer"); 51 55 if (server_elem == null) { -
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/IViaSearch.java
r9902 r10093 39 39 public boolean configure(Element info, Element extra_info) 40 40 { 41 if (!super.configure(info, extra_info)){ 42 return false; 43 } 44 41 45 Element server_elem = (Element)GSXML.getChildByTagName(info, "iViaServer"); 42 46 if (server_elem == null) { … … 52 56 does_multi_index_search = true; 53 57 this.default_index = ",kw,au,su,ti,de,fu,"; // all of them 54 return super.configure(info, extra_info);58 return true; 55 59 } 56 60 -
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/MapRetrieve.java
r9874 r10093 55 55 public boolean configure(Element info, Element extra_info) 56 56 { 57 if (!super.configure(info, extra_info)){ 58 return false; 59 } 60 57 61 System.out.println("Configuring MapRetrieve..."); 58 62 this.config_info = info; -
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/PhindPhraseBrowse.java
r10065 r10093 69 69 public boolean configure(Element info, Element extra_info) { 70 70 71 if (!super.configure(info, extra_info)){ 72 return false; 73 } 74 71 75 System.out.println("configuring PhindPhraseBrowse"); 72 76 -
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/ServiceRack.java
r10088 r10093 135 135 */ 136 136 public boolean configure(Element info) { 137 return configure(info, null); 138 } 139 140 public boolean configure(Element info, Element extra_info) { 137 141 // set up the class loader 138 142 this.class_loader = new CollectionClassLoader(this.getClass().getClassLoader(), this.site_home, this.cluster_name); 139 140 return configure(info, null); 141 } 142 143 abstract public boolean configure(Element info, Element extra_info); 143 return true; 144 } 144 145 145 146 /** -
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/Visualizer.java
r9874 r10093 55 55 public boolean configure(Element info, Element extra_info) 56 56 { 57 if (!super.configure(info, extra_info)){ 58 return false; 59 } 60 57 61 Element e = this.doc.createElement(GSXML.SERVICE_ELEM); 58 62 e.setAttribute(GSXML.TYPE_ATT, GSXML.SERVICE_TYPE_APPLET); -
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/XMLRetrieve.java
r10089 r10093 38 38 39 39 public boolean configure(Element info, Element extra_info) { 40 40 if (!super.configure(info, extra_info)){ 41 return false; 42 } 41 43 System.out.println("configuring XMLRetrieve..."); 42 44 // look for the parameters -
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/XSLTServices.java
r6273 r10093 102 102 /** configure this service */ 103 103 public boolean configure(Element info, Element extra_info) { 104 104 if (!super.configure(info, extra_info)){ 105 return false; 106 } 107 105 108 System.out.println("configuring XSLTServices"); 106 109 this.config_info = info;
Note:
See TracChangeset
for help on using the changeset viewer.