Package org.apache.isis.runtimes.dflt.runtime.persistence.objectstore.transaction

Examples of org.apache.isis.runtimes.dflt.runtime.persistence.objectstore.transaction.ObjectStoreTransactionManager


     *
     * <p>
     * By default returns a {@link ObjectStoreTransactionManager}.
     */
    protected IsisTransactionManager createTransactionManager(final PersistenceSessionTransactionManagement persistor, final ObjectStoreTransactionManagement objectStore) {
        return new ObjectStoreTransactionManager(persistor, objectStore);
    }
View Full Code Here


        // implicitly created by the system, so reuse
        adapterManager = (AdapterManagerExtended) system.getAdapterManager();
        adapterFactory = system.getAdapterFactory();

        persistenceSession = new PersistenceSessionObjectStore(mockPersistenceSessionFactory, adapterFactory, new TestObjectFactory(), servicesInjector, new TestProxyOidGenerator(), adapterManager, new DummyPersistAlgorithm(), objectStore);
        transactionManager = new ObjectStoreTransactionManager(persistenceSession, objectStore);
        transactionManager.injectInto(persistenceSession);

        servicesInjector.setServices(Collections.emptyList());
        persistenceSession.setSpecificationLoader(system.getReflector());
View Full Code Here

     * <p>
     * By default returns a {@link ObjectStoreTransactionManager}.
     */
    protected IsisTransactionManager createTransactionManager(final PersistenceSessionTransactionManagement persistor,
        final ObjectStoreTransactionManagement objectStore) {
        return new ObjectStoreTransactionManager(persistor, objectStore);
    }
View Full Code Here

        adapterFactory = system.getAdapterFactory();

        persistenceSession =
            new PersistenceSessionObjectStore(mockPersistenceSessionFactory, adapterFactory, new TestObjectFactory(),
                servicesInjector, new TestProxyOidGenerator(), adapterManager, new DummyPersistAlgorithm(), objectStore);
        transactionManager = new ObjectStoreTransactionManager(persistenceSession, objectStore);
        transactionManager.injectInto(persistenceSession);

        servicesInjector.setServices(Collections.emptyList());
        persistenceSession.setSpecificationLoader(system.getReflector());
View Full Code Here

TOP

Related Classes of org.apache.isis.runtimes.dflt.runtime.persistence.objectstore.transaction.ObjectStoreTransactionManager

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.