Package org.jboss.test.profileservice.test.ejb3

Examples of org.jboss.test.profileservice.test.ejb3.TestRemoteBusiness


      List<MethodStats> methodStats = invocationStats.methodStats;
      log.info("Method stats before invocation: " + methodStats);
      Assert.assertTrue("Method stats should be empty", methodStats.isEmpty());

      // Invoke upon the EJB locally via the Remote access delegate
      LocalExpositionRemoteBusiness remoteBusiness = (LocalExpositionRemoteBusiness) getInitialContext().lookup(LocalExpositionBean.class.getSimpleName() + "/remote");
      remoteBusiness.echoViaLocal("Some test String");

      // Ensure the stats reflect the invocation in the SLSB
      invocationStats = getInvocationStats(slsbComponent);
      methodStats = invocationStats.methodStats;
      log.info("Method stats after invocation: " + methodStats);
View Full Code Here


      List<MethodStats> methodStats = invocationStats.methodStats;
      log.info("Method stats before invocation: " + methodStats);
      Assert.assertTrue("Method stats should be empty", methodStats.isEmpty());

      // Invoke upon the EJB
      TestRemoteBusiness remoteBusiness = (TestRemoteBusiness) getInitialContext().lookup(ejbName + "/remote");
      remoteBusiness.echo("Some test String");

      // Ensure the stats reflect the invocation
      invocationStats = getInvocationStats(component);
      methodStats = invocationStats.methodStats;
      log.info("Method stats after invocation: " + methodStats);
View Full Code Here

TOP

Related Classes of org.jboss.test.profileservice.test.ejb3.TestRemoteBusiness

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.