I've asked Jozef to respond
I solved my issue.
You need to annotate your class with
@Providerand then add it to a JaxRs Application object as a resource.
Still some issues because CDI injection is not working. I'm trying to inject an Identity object to perform validation upon a rest request but no luck so far
Mario, I implemented CDI injection into RESTEasy interceptors in RESTEASY-493 a while ago. Unfortunately, JBoss AS 7.0.2 bundles an older version of the resteasy-cdi integration module. Any chance you could upgrade your AS installation with resteasy-cdi 2.2.2.GA?