Examples of AtomikosStandaloneJTAManagerLookup


Examples of org.modeshape.transaction.lookup.AtomikosStandaloneJTAManagerLookup

        RepositoryConfiguration repositoryConfiguration = RepositoryConfiguration.read(configFileStream, "doesn't matter");

        // Create the Infinispan configuration via a Local Environment ...
        ConfigurationBuilder builder = new ConfigurationBuilder();
        Configuration cacheConfig = builder.transaction()
                                           .transactionManagerLookup(new AtomikosStandaloneJTAManagerLookup())
                                           .transactionMode(TransactionMode.TRANSACTIONAL)
                                           .autoCommit(true)
                                           .lockingMode(LockingMode.PESSIMISTIC)
                                           .persistence()
                                           .passivation(false)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.