Hi team,
for my issue [1] I am facing a few problems with which I would be glad if
somebody could help. As resteasy contains resteasy-cdi module, I am able to
manually collect JAX-RS related annotations from stereotypes by listening
for the Weld CDI events. My problem is how to propagate this information to
the processing of the request in the resteasy-jaxrs module. As I discussed
with Alessio it would be better to keep all CDI related code in the
resteasy-cdi module so I am searching for a way to substitute my classes
from resteasy-cdi module to the resteasy-jaxrs module. This will need to go
as deep as ResourceBuilder class as that's where the annotations are
processed but I don't see any way how to move the execution of the request
from resteasy-jaxrs.
Thank you for any ideas.
[1]
https://issues.jboss.org/browse/WFLY-8136
Martin Stefanko
Associate Software Engineer
JBoss Sustaining Engineering Team
Red Hat Czech s.r.o.