Ignore:
Timestamp:
02/26/13 11:46:33 (11 years ago)
Author:
keeloo
Message:

Fixed a few tests, moved the SearchResultsDao? method to the init
method of the WebApplication? class. Tested the web application.

From now on, it is possible to override an optional external
configuration file in the context segment by a context definition of
the solrUrl parameter.

Removed parameters from application properties, removed application
properties files themselves, removed unused configuration files and
context segments, and finally: removed Spring dependencies.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vlo/branches/vlo-2.13-param/vlo_webapp/src/main/java/eu/clarin/cmdi/vlo/VloApplication.java

    r2604 r2627  
    1818public class VloApplication extends WebApplication {
    1919
    20     private final SearchResultsDao searchResults;
     20    private SearchResultsDao searchResults;
    2121
    2222    // application configuration
     
    2727
    2828    /**
    29      * Method that will be invoked when the application starts
     29     * Method that will be invoked when the application starts<br><br>
     30     *
    3031     */
    3132    @Override
     
    4748            config = VloConfig.switchToExternalConfig(servletContext);
    4849        }
     50
     51        // start the application
     52
     53        searchResults = new SearchResultsDao();
    4954    }
    5055
     
    6974        // let the {@literal init()} method know that there will be a context
    7075
    71         inContext = true;
    72 
    73         // start the application
    74 
    75         searchResults = new SearchResultsDao();
     76        inContext = true; 
    7677    }
    7778
Note: See TracChangeset for help on using the changeset viewer.