I'd say no.
On 10/23/2012 3:08 PM, Jan Algermissen wrote:
> Hi,
>
> what is the desired behavior of a JAX-RS and CDI runtime when a message body reader or writer is injected using a CDI mechanism.
>
> For example, if using
>
> @Inject Instance<MessageBodyReader> mbrs;
>
> for(MessageBodyReader mbr : mbrs) {
> if(mbr.canRead( ... ) ) {
> someObject = mbr.readFrom( ... )
> }
> }
>
> is the expectation that any applicable JAX-RS interceptors are invoked?
>
> What about ordering/interference with CDI Interceptors?
>
> Jan
>
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com