Package org.jboss.resteasy.cdi.injection.reverse

Examples of org.jboss.resteasy.cdi.injection.reverse.EJBInterface


      final Context context = new InitialContext(jndiProperties);
      String className = "Stateful" + scope + "ScopedEJBwithJaxRsComponents";
      Class<?> viewName = Class.forName("org.jboss.resteasy.cdi.injection.reverse." + className + "Interface");
      String lookup = "ejb:/resteasy-reverse-injection-test/" + className + "!" + viewName.getName() + "?stateful";
      log.info("lookup: " + lookup);
      EJBInterface remote = EJBInterface.class.cast(context.lookup(lookup));
      log.info("remote: " + remote);
      remote.setUp(NON_CONTEXTUAL);
      Assert.assertTrue(remote.test(NON_CONTEXTUAL));
   }
View Full Code Here

TOP

Related Classes of org.jboss.resteasy.cdi.injection.reverse.EJBInterface

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.