3 Replies Latest reply on Jul 23, 2007 9:05 PM by Shane Bryzak

    Variable argument events

    Monkey Den Master

      Using Seam 1.2.1GA, I have the following code in a class which is strictly responsible for listening for events.

      @Observer("com.nemoves.pws.userLogin")
      public void processUserLoginHit(Long userKey){
       l...do something
      }


      I also have the following code which raises an event:
      Events events = Events.instance();
      events.raiseEvent("com.nemoves.pws.userLogin", userKey);


      For some reason the processUserLoginHit() method never gets called. Any ideas?