Examples of resetActivationCounter()


Examples of org.jboss.test.cluster.ejb3.clusteredsession.StatefulRemote.resetActivationCounter()

      assertNotSame ("No failover has occured!", node1.nodeId, node2.nodeId);

      assertEquals ("Node 1: ", "The Code", node1.answer);
      assertEquals ("Node 2: ", "The Code", node2.answer);

      stateful.resetActivationCounter(); // This will activate the bean.
      int invCount = 1;
     
      sleep_(10100); // let it get passivated again.
     
      assertEquals("Counter: ", 3, stateful.increment());
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.