[jboss-user] [JBoss jBPM] - Re: How to cancel a Timer dynamically?

bsmithjj do-not-reply at jboss.com
Wed Feb 28 15:28:57 EST 2007


I should have it... I am attempting to do this in execute() method of an ActionHandler.  Currently I put the following in (taken from the jBPM source code):


  |   SchedulerService schedulerService = (SchedulerService)Services.getCurrentService(
  |     Services.SERVICENAME_SCHEDULER
  |   );
  |   schedulerService.cancelTimersByName(
  |     UserManagerEscalator.TimerName,exeCtx.getToken()
  |   );
  | 
  | 

Thanks

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

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



More information about the jboss-user mailing list