3 Replies Latest reply on Nov 12, 2009 6:58 PM by Pete Muir

    Observing ProcessAnnotatedType event in Tomcat

    Daniel Munzinger Newbie

      Hi everyone,

      I've been trying to listen to the mentioned event as described in the PFD and the Javadoc. I've written an Oberserver method:

      public void decorateAnnotatedType(@Observes ProcessAnnotatedType<Game> pat)

      Game is the Game class from the numberguess example. The problem is that this method never gets called. I can see that the appropriate Event is fired by the Observer resolution somehow fails. Could you point me in the direction how to correctly use this event?

      I'm using Weld-Servlet 1.0.0.CR1 and Tomcat