Examples of CollectionConfig


Examples of edu.indiana.dlib.metsnav.config.CollectionConfig

        log.debug("Initializting NavigationController for collection: " + prefix);
        // Data source configuration will not be implemented in this version
        this.context = context;
        this.prefix = prefix;
        String key = Globals.COLLECTION_CONFIG_KEY + prefix;
        CollectionConfig config = (CollectionConfig) context.getAttribute(key);
        MetsObjectDAO childDao = MetsObjectDAOFactory.instance().createMetsObjectDAO(
                config.getDataSource().getDaoType());
        dao = new CacheMetsObjectDAO(childDao);
        dao.init(config);

        log.debug("Finished initializing NavigationController for collection: " + prefix);
    }
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.