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