[jboss-user] [EJB/JBoss] - Timer getInfo returns null?

Gourija do-not-reply at jboss.com
Fri Apr 6 15:35:29 EDT 2007


I am using EJB2.1 on Jboss 4.0.2.
I create a timer using
TimerService ts = sc.getTimerService();
Timer timer = ts.createTimer(initialExpire, timeout,timerName);


Later ts.getTimers() returns me a collection of all the created Timers.
But when I call timer.getInfo() on these timers I get a 'null' instead of the 
timername as expected.
Has anyone faced this problem before?
Is there any way to set and later obtain the timername?

Thanks in advance.

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

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



More information about the jboss-user mailing list