[Resteasy-users] How to setup RESTEasy with CDI and Netty?

2013-11-25 Thread Christian Helmbold
Hi! How can I setup RESTEasy (3.0.5) with CDI and Netty in a Java SE environment? Simply putting the resteasy-cdi module on the class path doesn't work (as suggested in http://docs.jboss.org/resteasy/docs/3.0.5.Final/userguide/html_single/index.html#d4e2034). Here is my startup class:

Re: [Resteasy-users] How to setup RESTEasy with CDI and Netty?

2013-11-25 Thread Bill Burke
I've never tried using CDI in Java SE. Really depend on the implementation of CDI I suppose. You'd have to manually set up CDI, then set the deployment.setInjectorFactoryClass(org.jboss.resteasy.cdi.CdiInjectoryFactory.class.getName()); Also, our impl only works with Weld. On 11/25/2013