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

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


     
      final Hashtable<String,String> jndiProperties = new Hashtable<String,String>();
      jndiProperties.put(Context.URL_PKG_PREFIXES, "org.jboss.ejb.client.naming");
      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));
   }
View Full Code Here

TOP

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

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.