6 Replies Latest reply on Feb 26, 2009 9:22 AM by akazakov

    Seam Validator not recognising component class

    atorble

      I have a specialized Identity component which is configured thus:

      @Name("org.jboss.seam.security.identity")
      @Scope(SESSION)
      @Install(precedence=APPLICATION)
      @Startup
      public class MyIdentity extends Identity {
       ...
      }
      


      Within this class I have a method which is annotated
      @Observer("myEvent")


      Seam Validator doesn't like this and announces an error: "Only component class can have @Observer method ..."

      The class compiles ok and runs as expected (i.e. the @Observer method is called)

      Is this a bug or is there something wrong with my configuration?

      TIA

      Andy