Interface TimerServiceRegistry

  • All Known Implementing Classes:
    TimerServiceRegistryImpl

    public interface TimerServiceRegistry
    Registry of timer services for a given deployment, used to implement TimerService.getAllTimers().
    Author:
    Paul Ferraro
    • Method Detail

      • registerTimerService

        void registerTimerService​(jakarta.ejb.TimerService service)
        Registers the specified timer service.
        Parameters:
        service - a timer service
      • unregisterTimerService

        void unregisterTimerService​(jakarta.ejb.TimerService service)
        Unregisters the specified timer service.
        Parameters:
        service - a timer service
      • getAllTimers

        Collection<jakarta.ejb.Timer> getAllTimers()
        Returns the timers for all registered timer services.
        Returns:
        a collection of timers