Package org.jboss.test.refs.ejbs2

Examples of org.jboss.test.refs.ejbs2.StatelessTest


   {
      InitialContext ctx = getInitialContext();
      try
      {
         Object ref = ctx.lookup("refs/ejbs2/StatelessBean");
         StatelessTest test = (StatelessTest) ref;
         test.validate();
      }
      catch(NameNotFoundException e)
      {
         getLog().info("+++ dump of global JNDI contents: ");
         dumpGlobalJndi("refs", 0);
View Full Code Here


   public void testSessionEJBRefs()
      throws Exception
   {
      InitialContext ctx = getInitialContext();
      Object ref = ctx.lookup("refs/ejbs2/StatelessBean");
      StatelessTest test = (StatelessTest) ref;
      test.validate();
   }
View Full Code Here

   {
      InitialContext ctx = getInitialContext();
      try
      {
         Object ref = ctx.lookup("refs/ejbs2/StatelessBean");
         StatelessTest test = (StatelessTest) ref;
         test.validate();
      }
      catch(NameNotFoundException e)
      {
         getLog().info("+++ dump of global JNDI contents: ");
         dumpGlobalJndi("refs", 0);
View Full Code Here

   public void testSessionEJBRefs()
      throws Exception
   {
      InitialContext ctx = getInitialContext();
      Object ref = ctx.lookup("refs/ejbs2/StatelessBean");
      StatelessTest test = (StatelessTest) ref;
      test.validate();
   }
View Full Code Here

TOP

Related Classes of org.jboss.test.refs.ejbs2.StatelessTest

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.