Package org.modeshape.jcr.federation

Examples of org.modeshape.jcr.federation.FederatedDocumentStore


                    // the name of the fork stack is based on the name of the cache; this will allow multiple caches to share the
                    // same JG stack
                    String forkStackId = "modeshape-" + cacheName + "-fork-stack";
                    this.clusteringService = cacheChannel != null ? ClusteringService.startForked(forkStackId, cacheChannel) : null;

                    this.documentStore = connectors.hasConnectors() ? new FederatedDocumentStore(connectors, database) : new LocalDocumentStore(
                                                                                                                                                database);
                    this.txnMgr = this.documentStore.transactionManager();
                    this.transactions = createTransactions(cacheName, config.getTransactionMode(), this.txnMgr);

                    suspendExistingUserTransaction();
View Full Code Here

TOP

Related Classes of org.modeshape.jcr.federation.FederatedDocumentStore

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.