Package org.jboss.cache.invocation

Examples of org.jboss.cache.invocation.InvocationContextContainer


   @BeforeMethod
   public void setUp()
   {
      AbstractLockManagerRecordingTestTL tl = new AbstractLockManagerRecordingTestTL();
      threadLocal.set(tl);
      tl.icc = new InvocationContextContainer();
      MVCCLockManager mvccLockManager = new MVCCLockManager();
      TransactionManager tm = DummyTransactionManager.getInstance();
      mvccLockManager.injectConfiguration(new Configuration());
      mvccLockManager.injectDependencies(null, null, tm, tl.icc);
      mvccLockManager.startLockManager();
View Full Code Here


   @Override
   protected void checkLocks()
   {
      ComponentRegistry cr = TestingUtil.extractComponentRegistry(cache);
      LockManager lm = cr.getComponent(LockManager.class);
      InvocationContextContainer icc = cr.getComponent(InvocationContextContainer.class);

      LockAssert.assertNotLocked(A, lm, icc);
      LockAssert.assertNotLocked(Fqn.ROOT, lm, icc);
      LockAssert.assertLocked(C, lm, icc);
      LockAssert.assertLocked(A_B, lm, icc);
View Full Code Here

   @Override
   protected void checkLocksDeep()
   {
      ComponentRegistry cr = TestingUtil.extractComponentRegistry(cache);
      LockManager lm = cr.getComponent(LockManager.class);
      InvocationContextContainer icc = cr.getComponent(InvocationContextContainer.class);

      LockAssert.assertNotLocked(A, lm, icc);
      LockAssert.assertNotLocked(Fqn.ROOT, lm, icc);
      LockAssert.assertNotLocked(A_B_D, lm, icc);
View Full Code Here

   @Override
   protected void assertNoLocks()
   {
      ComponentRegistry cr = TestingUtil.extractComponentRegistry(cache);
      LockManager lm = cr.getComponent(LockManager.class);
      InvocationContextContainer icc = cr.getComponent(InvocationContextContainer.class);
      LockAssert.assertNoLocks(lm, icc);
   }
View Full Code Here

TOP

Related Classes of org.jboss.cache.invocation.InvocationContextContainer

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.