Examples of DBConnectionFilter


Examples of org.javalite.activeweb.controller_filters.DBConnectionFilter

public class AppControllerConfig extends AbstractControllerConfig {

    public void init(AppContext context) {
//        addGlobalFilters(new TimingFilter()); for speed - not sure how logging is configured

        add(new DBConnectionFilter()).to(DatabaseController.class, QueriesController.class,
                FortunesController.class, UpdatesController.class);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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 coftware#gmail.com.