[jboss-user] [JBoss Seam] - Variable argument events

monkeyden do-not-reply at jboss.com
Mon Jul 23 20:19:19 EDT 2007


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?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066858#4066858

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066858



More information about the jboss-user mailing list