Package org.openengsb.core.api.persistence

Examples of org.openengsb.core.api.persistence.PersistenceService


        String dbFile = new File(getAbsoluteRootDir(), getFileName(bundle)).getPath();
        if (persistenceServices.containsKey(dbFile)) {
            return persistenceServices.get(dbFile);
        }
        new File(dbFile).mkdirs();
        PersistenceService bundleService =
            new DefaultPersistenceService(new File(dbFile), new DefaultObjectPersistenceBackend(bundle),
                new DefaultPersistenceIndex(new File(dbFile), new DefaultObjectPersistenceBackend(bundle)));
        persistenceServices.put(dbFile, bundleService);
        return bundleService;
    }
View Full Code Here

TOP

Related Classes of org.openengsb.core.api.persistence.PersistenceService

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.