Examples of BatchModeTransactionManager


Examples of org.jboss.cache.transaction.BatchModeTransactionManager

      Cache<Object, Object> delegate = new DefaultCacheFactory<Object, Object>().createCache(false);
      MockTreeCache cache = new MockTreeCache(delegate);
      // JBAS-4097 -- don't use a TransactionManagerLookup that will
      // bind DummyTransactionManager into JNDI, as that will screw
      // up other tests
      cache.getConfiguration().getRuntimeConfig().setTransactionManager(new BatchModeTransactionManager());
     
      cacheManager.registerCache(cache, ClusteredSingleSignOn.DEFAULT_CACHE_NAME);
     
      if (usePool)
      {
View Full Code Here

Examples of org.jboss.cache.transaction.BatchModeTransactionManager

      Cache<Object, Object> delegate = new DefaultCacheFactory<Object, Object>().createCache(false);
      MockTreeCache cache = new MockTreeCache(delegate);
      // JBAS-4097 -- don't use a TransactionManagerLookup that will
      // bind DummyTransactionManager into JNDI, as that will screw
      // up other tests
      cache.getConfiguration().getRuntimeConfig().setTransactionManager(new BatchModeTransactionManager());
     
      cacheManager.registerCache(cache, ClusteredSingleSignOn.DEFAULT_CACHE_NAME);
     
      // Build up an SSO infrastructure based on LOCAL_ADDRESS 
      JBossCacheSSOClusterManager localSSOManager = new JBossCacheSSOClusterManager();
View Full Code Here

Examples of org.jboss.cache.transaction.BatchModeTransactionManager

public class MockTransactionManagerLookup implements TransactionManagerLookup
{

   public TransactionManager getTransactionManager() throws Exception
   {
      return new BatchModeTransactionManager();
   }
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.