You'll have to bug the CDI guys. Resteasy's integration with CDI is
simple, it just delegates resource class creation to CDI.
On 11/6/2012 9:15 AM, Daniel Sachse wrote:
> Hey guys,
>
> I possibly discovered a bug in the Resteasy implementation provided with
> JBoss 7.1.1.Final.
> I was playing around with Errai and JAX-RS and I discovered that when I
> add the JAX-RS annotations to the interface this works as expected.
> As soon as I start to use a CDI Decorator with the JAX-RS interface, i
> start getting the following error:
>
> /"org.jboss.weld.exceptions.UnproxyableResolutionException: WELD-001306
> Attempting to inject an unproxyable normal scoped bean Decorator….."/
> /
> /
> If I then put the JAX-RS annotations back at the implementation,
> everything works fine. Unfortunately this behavior is not working for
> me, because Errai needs the annotations at the interface to create
> client code.
>
> As I was unsure if this only happened with Errai on the classpath, I
> created a very little demo project, which exactly shows the bug I
> mentioned: https://github.com/w0mbat/RESTTest
>
> Hope you guys can confirm this as a bug and fix it soon ;)
>
> Regards,
>
> Daniel
>
>
> ------------------------------------------------------------------------------
> LogMeIn Central: Instant, anywhere, Remote PC access and management.
> Stay in control, update software, and manage PCs from one command center
> Diagnose problems and improve visibility into emerging IT issues
> Automate, monitor and manage. Do more in less time with Central
> http://p.sf.net/sfu/logmein12331_d2d
>
>
>
> _______________________________________________
> Resteasy-developers mailing list
> Res...@li...
> https://lists.sourceforge.net/lists/listinfo/resteasy-developers
>
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
|