Changeset 2590 for vlo/branches/vlo-2.13-param/vlo_webapp/src/main/java/eu/clarin/cmdi/vlo/config/WebAppConfig.java
- Timestamp:
- 02/14/13 15:46:12 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vlo/branches/vlo-2.13-param/vlo_webapp/src/main/java/eu/clarin/cmdi/vlo/config/WebAppConfig.java
r2577 r2590 66 66 */ 67 67 @Root 68 public class WebAppConfig extends ConfigF ileParam{68 public class WebAppConfig extends ConfigFromFile { 69 69 70 70 // create a reference to the application logging … … 94 94 ConfigFilePersister.setLogger(WebAppConfig.logger); 95 95 } 96 96 97 97 /** 98 98 * XML File in which the application configuration is stored … … 161 161 /* Contrary to Simple, the servlet context parameters are not retrieved 162 162 * by annotation. Get them by invoking a local method. 163 * 164 * Here also invoke a superclass method 163 165 */ 164 166 config = addServletContext(config); … … 567 569 568 570 servletContext = context; 569 } 570 571 572 // servletContest can be null 573 } 574 571 575 /** 572 576 * Add properties of the {@literal servlet's} context<br><br> … … 582 586 583 587 // retrieve parameter valies from the servlet context 584 585 config.solrUrl = servletContext.getInitParameter("solrUrl"); 588 589 if (servletContext == null) { 590 // no servlet context yet 591 592 } else { 593 config.solrUrl = servletContext.getInitParameter("solrUrl"); 594 } 586 595 587 596 return config; … … 595 604 */ 596 605 597 @Element598 606 private String solrUrl = ""; 599 607
Note: See TracChangeset
for help on using the changeset viewer.