0 Replies Latest reply on Sep 22, 2015 6:38 PM by aliosha79

    jersey custom annotation injection

    aliosha79

      I m using Wildfly 9.0 and i need to build my custom annotation injection mechanism in order to inject my principal object.. My requirement is to work with Jersey 2.x.

      So i'm following the jersey reference guide at this link:

       

      https://jersey.java.net/documentation/latest/ioc.html

       

      But unluckily my injected principal object is always null. Someone asserts that is an inevitable conflict between the resteasy jax rs implementation embedded with wildfly and Jersey.

      So what the way to make jersey hk2 injection to work without conflicting with the wildfly weld?

       

      Is there a way to implement the same custom injection with resteasy?

      thanks