Package org.modeshape.jcr.txn

Examples of org.modeshape.jcr.txn.NoClientTransactions


                                                                                                                   cacheName));
            }

            switch (mode) {
                case NONE:
                    return new NoClientTransactions(txnMgr);
                case AUTO:
                    break;
            }
            return new SynchronizedTransactions(txnMgr, documentStore.localStore().localCache());
        }
View Full Code Here


                                                        SessionEnvironment sessionEnv );

    protected SessionEnvironment createSessionContext() {
        final TransactionManager txnMgr = txnManager();
        return new SessionEnvironment() {
            private final Transactions transactions = new NoClientTransactions(txnMgr);
            private final TransactionalWorkspaceCaches transactionalWorkspaceCacheFactory = new TransactionalWorkspaceCaches(
                                                                                                                             transactions);

            @Override
            public Transactions getTransactions() {
View Full Code Here

TOP

Related Classes of org.modeshape.jcr.txn.NoClientTransactions

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.