Examples of AuroraLocal


Examples of org.jboss.ejb3.core.test.ejbthree2146.AuroraLocal

   }

   @Test
   public void testStats() throws Exception
   {
      AuroraLocal bean = lookup("AuroraBean/local", AuroraLocal.class);

      InvocationStatistics stats = container.getInvokeStats();

      // Since we don't have a prince at hand, lets not sleep forever
      bean.sleep(100, MILLISECONDS);
     
      InvocationStatistics.TimeStatistic methodStat = stats.getStats().get("sleep");
      assertNotNull(methodStat);
      long count = methodStat.getCount();
      assertEquals(1, count);
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.