source: vlo/branches/to-wicket-1.6-twagoo/vlo_web_app/src/main/java/eu/clarin/cmdi/vlo/dao/DaoLocator.java @ 4212

Last change on this file since 4212 was 4212, checked in by twagoo, 10 years ago

Branched off keeloo's wicket-6 conversion branch.
Applied a number of fixes to make code properly compilable, runnable (app still doesn't start properly).
To be merged back with keeloo's work.

File size: 339 bytes
Line 
1package eu.clarin.cmdi.vlo.dao;
2
3import eu.clarin.cmdi.vlo.VloWebApplication;
4import org.apache.wicket.Application;
5
6
7public final class DaoLocator {
8
9    public static SearchResultsDao getSearchResultsDao()
10    {
11        VloWebApplication app = (VloWebApplication)Application.get();
12        return app.getSearchResultsDao();
13    }
14   
15}
Note: See TracBrowser for help on using the repository browser.