Hi Usong standard api of ee 6 you cant. Using quartz + our api it is doable Le 28 mai 2015 03:53, "Lars-Fredrik Smedberg" <[email protected]> a écrit :
> Just want to clarify that we are using JEE 6 and cannot use the > getAllTimers() method in TimerService.... > > Regards > LF > > On Thu, May 28, 2015 at 11:13 AM, Lars-Fredrik Smedberg < > [email protected]> > wrote: > > > Hi! > > > > Is there a way to get a list of references to all timers running in an > > application (Timer and/or TimerHandle reference)? > > > > I would like to be able to create a list of the timers in the order they > > will timeout... and the Timer interface exposes the getNextTimeout() > method. > > > > Can this be done or has anyone done something similar and if so how? > > > > Regards > > LF > > > > > > > > -- > > Med vänlig hälsning / Best regards > > > > Lars-Fredrik Smedberg > > > > STATEMENT OF CONFIDENTIALITY: > > The information contained in this electronic message and any > > attachments to this message are intended for the exclusive use of the > > address(es) and may contain confidential or privileged information. If > > you are not the intended recipient, please notify Lars-Fredrik Smedberg > > immediately at [email protected], and destroy all copies of this > > message and any attachments. > > > > > > -- > Med vänlig hälsning / Best regards > > Lars-Fredrik Smedberg > > STATEMENT OF CONFIDENTIALITY: > The information contained in this electronic message and any > attachments to this message are intended for the exclusive use of the > address(es) and may contain confidential or privileged information. If > you are not the intended recipient, please notify Lars-Fredrik Smedberg > immediately at [email protected], and destroy all copies of this > message and any attachments. >
