Interface TimerServiceRegistry
-
- All Known Implementing Classes:
TimerServiceRegistryImpl
public interface TimerServiceRegistryRegistry of timer services for a given deployment, used to implementTimerService.getAllTimers().- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<jakarta.ejb.Timer>getAllTimers()Returns the timers for all registered timer services.voidregisterTimerService(jakarta.ejb.TimerService service)Registers the specified timer service.voidunregisterTimerService(jakarta.ejb.TimerService service)Unregisters the specified timer service.
-
-
-
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
-
-