Examples of echoViaLocal()


Examples of org.jboss.test.profileservice.test.ejb3.LocalExpositionRemoteBusiness.echoViaLocal()

      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
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.