Package edu.indiana.dlib.metsnav.config

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


    protected static String root;

    @BeforeClass
    public static void setUpBeforeClass() throws Exception {
        String path = new MetsNavTestCase().getClass().getProtectionDomain().getCodeSource().getLocation().getPath();
        FileSystemDataSource dsConfig_1_6 = new FileSystemDataSource();
        dsConfig_1_6.setAbsolutePath(path);
        dsConfig_1_6.setMetsVersion("1.6");
        dsConfig_1_6.setDaoType("edu.indiana.dlib.metsnav.dao.PersistentMetsFileDAO");
        config_1_6 = new CollectionConfig();
        config_1_6.setDataSource(dsConfig_1_6);

        FileSystemDataSource dsConfig_1_5 = new FileSystemDataSource();
        dsConfig_1_5.setAbsolutePath(path);
        dsConfig_1_5.setMetsVersion("1.5");
        dsConfig_1_5.setDaoType("edu.indiana.dlib.metsnav.dao.PersistentMetsFileDAO");
        config_1_5 = new CollectionConfig();
        config_1_5.setDataSource(dsConfig_1_5);

        FileSystemDataSource dsConfig_1_4 = new FileSystemDataSource();
        dsConfig_1_4.setAbsolutePath(path);
        dsConfig_1_4.setMetsVersion("1.4");
        dsConfig_1_4.setDaoType("edu.indiana.dlib.metsnav.dao.PersistentMetsFileDAO");
        config_1_4 = new CollectionConfig();
        config_1_4.setDataSource(dsConfig_1_4);

        FileSystemDataSource dsConfig_ead = new FileSystemDataSource();
        dsConfig_ead.setAbsolutePath(path);
        dsConfig_ead.setMetsVersion("ead");
        dsConfig_ead.setDaoType("edu.indiana.dlib.metsnav.dao.PersistentMetsFileDAO");
        config_ead = new CollectionConfig();
        config_ead.setDataSource(dsConfig_ead);

        CompositeCacheManager cacheMgr = null;
        System.out.println(path);
View Full Code Here


    }

    @BeforeClass
    public static void setUpClass() throws Exception {
        String path = PersistentIUFA2MetsFileDAOTest.class.getProtectionDomain().getCodeSource().getLocation().getPath();
      FileSystemDataSource dsConfig_ead = new FileSystemDataSource();
        dsConfig_ead.setAbsolutePath(path);
        dsConfig_ead.setMetsVersion("ead");
        dsConfig_ead.setDaoType("edu.indiana.dlib.metsnav.dao.PersistentMetsFileDAO");
        config_ead = new CollectionConfig();
        config_ead.setDataSource(dsConfig_ead);
    }
View Full Code Here

TOP

Related Classes of edu.indiana.dlib.metsnav.config.FileSystemDataSource

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 coftware#gmail.com.