users@glassfish.java.net

How to stop/resume TimerService

From: <glassfish_at_javadesktop.org>
Date: Mon, 22 Dec 2008 10:37:57 PST

scenario: I have deployed EAR file in to Glassfish V2 which contains TimerService..
After 15 sec of deployed timerService will expire and call @TimeOut method.

 Is there any way to stop or resume the TimerService ?

We know that to stop the Timer we can call cancel() method from Timer Interface?

Is there any way to resume Timer which we cancelled?
[Message sent by forum member 'chalava' (chalava)]

http://forums.java.net/jive/thread.jspa?messageID=322988