Package org.infinispan.transaction.lookup

Examples of org.infinispan.transaction.lookup.GenericTransactionManagerLookup


public class TransactionManagerLookupTest extends AbstractInfinispanTest {
  
   final GlobalConfiguration globalConfiguration = new GlobalConfigurationBuilder().build();

   public void testGenericTransactionManagerLookup() throws Exception {
      GenericTransactionManagerLookup lookup = new GenericTransactionManagerLookup();
      lookup.init(globalConfiguration);
      doTest(lookup);
   }
View Full Code Here


      EmbeddedCacheManager cm = createLocalCacheManager(false);

      org.infinispan.config.Configuration c = new org.infinispan.config.Configuration();
      c.setL1CacheEnabled(false);
      c.setL1OnRehash(false);
      c.setTransactionManagerLookup(new GenericTransactionManagerLookup());
      c.setIsolationLevel(IsolationLevel.NONE);
      org.infinispan.config.Configuration oneCacheConfiguration = cm.defineConfiguration("oneCache", c);
      assert oneCacheConfiguration.equalsIgnoreName(c);
      assert oneCacheConfiguration.getIsolationLevel().equals(IsolationLevel.NONE);
View Full Code Here

public class TransactionManagerLookupTest extends AbstractInfinispanTest {
  
   Configuration configuration = new ConfigurationBuilder().build();

   public void testGenericTransactionManagerLookup() throws Exception {
      GenericTransactionManagerLookup lookup = new GenericTransactionManagerLookup();
      lookup.setConfiguration(configuration);
      doTest(lookup);
   }
View Full Code Here

TOP

Related Classes of org.infinispan.transaction.lookup.GenericTransactionManagerLookup

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.