Package daos

Examples of daos.ArticleDao

        // Create elasticsearch server
        ElasticSearchManager esManager = new ElasticSearchManager(configuration.datadir);

        // Create daos
        ArticleDao articleDao = new ArticleDaoImpl(esManager.getNode(), getJson());
        UserDao userDao = new UserDaoImpl(esManager.getNode(), getJson());

        // Create caching authenticator
        CachingAuthenticator<BasicCredentials, User> authenticator = CachingAuthenticator.wrap(new ElasticSearchAuthenticator(userDao),
View Full Code Here


Related Classes of daos.ArticleDao

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact