Changeset 21859 for other-projects/gs3-webservices-java-client
- Timestamp:
- 2010-04-01T17:10:36+13:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/gs3-webservices-java-client/trunk/src/GS3Fedora/org/greenstone/fedora/services/FedoraGS3Connection.java
r21835 r21859 70 70 private static final Logger LOG = Logger.getLogger( 71 71 FedoraGS3Connection.class.getName()); 72 72 73 /** Default name of Fedora index */ 74 private static final String DEFAULT_FEDORA_INDEX = "BasicIndex"; 75 73 76 /** Complete list of services that are supported our FedoraGS3 would 74 77 * support if everything goes well. If a connection to FedoraGSearch … … 214 217 // when performing searches for GS3 docs stored in Fedora's repository. 215 218 this.gSearchIndexName = properties.getProperty( 216 "gsearch.indexName", "FedoraIndex"); // default to FedoraIndex219 "gsearch.indexName", DEFAULT_FEDORA_INDEX); // default to FedoraIndex 217 220 properties.setProperty("gsearch.indexName", this.gSearchIndexName); 218 221 // Create a connection to FedoraGSearch's web services: 219 222 initSearchFunctionality(); 220 223 } 224 225 /** Overridden init method to work with the 5 argument constructor, so that we can 226 * bypass using setInitialisationProperties() which works with a Properties map. 227 */ 228 protected void init(String protocol, String host, String port, 229 String fedoraServerUsername, String fedoraServerPassword) 230 throws ParserConfigurationException, MalformedURLException, 231 AuthenticationFailedException, RemoteException, Exception 232 { 233 super.init(protocol, host, port, fedoraServerUsername, fedoraServerPassword); 234 this.gSearchWSDLSuffix = "gsearch/services/FgsOperations?wsdl"; 235 this.gSearchWSDLURL = this.baseURL + this.gSearchWSDLSuffix; 236 this.gSearchIndexName = DEFAULT_FEDORA_INDEX; 237 initSearchFunctionality(); 238 } 239 221 240 222 241 /** Init method that instantiates a GSearchConnection object used
Note:
See TracChangeset
for help on using the changeset viewer.