Package org.jboss.cache.transaction

Examples of org.jboss.cache.transaction.DummyTransactionManagerLookup


   private CacheSPI<Object, Object> cache;

   @BeforeMethod(alwaysRun = true)
   public void setUp() throws Exception
   {
      txManager = new DummyTransactionManagerLookup().getTransactionManager();
      Configuration config = UnitTestCacheConfigurationFactory.createConfiguration(Configuration.CacheMode.LOCAL, true);
      config.setNodeLockingOptimistic(true);
      config.setEvictionConfig(buildEvictionConfig());
      cache = (CacheSPI<Object, Object>) new DefaultCacheFactory().createCache(config);
   }
View Full Code Here

TOP

Related Classes of org.jboss.cache.transaction.DummyTransactionManagerLookup

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.