Base class allowing scheduling providers to easily fire the appropriate CDI event when required. Simply provide the necessary objects (represented by # {@link TriggerSupplies} to the constructor when theschedule is first registered (see # {@link CronSchedulingProvider}). Then call # {@literal fireTrigger()} at the scheduled time(s).
If the scheduling provider does not allow context to be passed directly to a new worker instance, but instead requires it to be passed via some other context, you will need to use # {@link ProviderContextTriggerSupport}instead.
@author Peter Royle @see ProviderContextTriggerSupport
|
|