[jboss-user] [EJB 3.0] - Re: Prevent Persistence of EJB Timers

leobaz2 do-not-reply at jboss.com
Tue Feb 10 09:12:19 EST 2009

This is the code that I have in the beans that are creating the timers.

getSessionContext().getTimerService().createTimer(intervalDuration, intervalDuration, divisionKeys);

The getSessionContext() is an inherited method from the base class that declares a private field:

@Resource(name = "ses_context_ref")
private SessionContext sessionContext;

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

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

More information about the jboss-user mailing list