Class TimerServiceRegistryImpl

java.lang.Object
org.jboss.as.ejb3.timerservice.TimerServiceRegistryImpl
All Implemented Interfaces:
TimerServiceRegistry

public class TimerServiceRegistryImpl extends Object implements TimerServiceRegistry
A registry to which individual timer services can register to (and un-register from). The main purpose of this registry is to provide an implementation of #getAllActiveTimers() which returns all active timers after querying each of the timer services registered with this registry.

Typical use of this registry is to maintain one instance of this registry, per deployment unit (also known as Jakarta Enterprise Beans module) and register the timer services of all Jakarta Enterprise Beans components that belong to that deployment unit. Effectively, such an instance can then be used to fetch all active timers that are applicable to that deployment unit (a.k.a Jakarta Enterprise Beans module).

Author:
Jaikiran Pai
  • Constructor Details

    • TimerServiceRegistryImpl

      public TimerServiceRegistryImpl()
  • Method Details