org.jboss.seam.cron.spi.scheduling
Class CronSchedulingInstaller
java.lang.Object
org.jboss.seam.cron.spi.scheduling.CronSchedulingInstaller
@ApplicationScoped
public class CronSchedulingInstaller
- extends Object
Scans all scheduling annotations and captures the configuration as a #Set
of #TriggerDetails, then forwards those configurations on to the
#CronSchedulingProvider implementation so that the underlying service
can be configured appropriately. Not directly useful to providers.
- Author:
- peteroyle
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCHEDULE_PROPERTIES_PATH
public static final String SCHEDULE_PROPERTIES_PATH
- See Also:
- Constant Field Values
CronSchedulingInstaller
public CronSchedulingInstaller()
initProviderScheduling
public void initProviderScheduling(BeanManager manager,
CronSchedulingProvider scheduleProvider,
Set<ObserverMethod> allObservers)
- Initializes schedulers for all of the observed scheduled events.
- Parameters:
manager - The JSR-299 Bean Manager.
createEventPayloadFromEveryBinding
public IntervalTriggerDetail createEventPayloadFromEveryBinding(Every everyBinding)
- Inspects the given @Every qualifier and extracts its settings into a new #
ScheduledTriggerDetail.
- Parameters:
everyBinding -
- Returns:
- a fully populated #
ScheduledTriggerDetail.
Copyright © 2011 Seam Framework. All Rights Reserved.