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

Examples of org.jboss.resteasy.cdi.injection.reverse.StatelessEJBwithJaxRsComponentsInterface.test()


      final Context context = new InitialContext(jndiProperties);
      String name = "ejb:/resteasy-reverse-injection-test/StatelessEJBwithJaxRsComponents!" + StatelessEJBwithJaxRsComponentsInterface.class.getName();
      StatelessEJBwithJaxRsComponentsInterface remote = StatelessEJBwithJaxRsComponentsInterface.class.cast(context.lookup(name));
      log.info("remote: " + remote);
      remote.setUp(NON_CONTEXTUAL);
      Assert.assertTrue(remote.test(NON_CONTEXTUAL));
   }
  
   /**
    *  Addresses injection of JAX-RS components (BookResource, BookReader, BookWriter) into
    *  a @Dependent annotated stateful EJB3.  The target SFSB is not a contextual object,
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.