[jboss-user] [JBoss Seam] - Re: using raiseTimedEvent / TimerSchedule

JakeC do-not-reply at jboss.com
Wed Dec 19 19:42:43 EST 2007


I've been using a variation of this in Seam 1.1.5.GA where my Asynchronous method returns javax.ejb.Timer, and I declare "@In Timer timer;" in my class, so I can cancel the Timer if I need to.

However, in Seam 2.0.1.CR1, as soon as I declare "@In Timer timer;" in my class, Events.instance().raiseAsynchronousEvent() and Events.instance().raiseTimedEvent() don't generate events any more. I don't get any errors or anything, I just don't receive events.

How do I use Events.instance().raiseTimedEvent() where I have access to the Timer object in Seam 2.0.1.CR1?

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

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



More information about the jboss-user mailing list