Annotated EJB timers are included in the collection of timers if TimerService.getTimers() is used

Solution Verified - Updated -

Issue

  • If TimerService.getTimers() is used to delete all timers it will include all timers which are created by annotation for this bean. Is it possible to avoid this?
  • If all timers should be deleted for a bean and getTimers() is used the annotated timers are also deleted, is this a bug? Or how to check this?
  • Is it possible to distinguish between ejb timer which are created by annotation or programatical during runtime?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
  • Java EE

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.