org.axonframework.eventhandling.scheduling.quartz
Class FireEventJob
java.lang.Object
   org.axonframework.eventhandling.scheduling.quartz.FireEventJob
org.axonframework.eventhandling.scheduling.quartz.FireEventJob
- All Implemented Interfaces: 
- org.quartz.Job
- public class FireEventJob 
- extends Object- implements org.quartz.Job
Quartz Job that publishes an event on an Event Bus. The event is retrieved from the JobExecutionContexts
 JobDataMap. Both the EventBus and EventJobDataBinder are fetched from the
 scheduler context.
- Since:
- 0.7
- Author:
- Allard Buijze
- See Also:
- EventJobDataBinder
 
 
| Method Summary | 
|  void | execute(org.quartz.JobExecutionContext context)
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
EVENT_JOB_DATA_BINDER_KEY
public static final String EVENT_JOB_DATA_BINDER_KEY
- The key used to locate the EventJobDataBinderin the scheduler context.
 
 
EVENT_BUS_KEY
public static final String EVENT_BUS_KEY
- The key used to locate the Event Bus in the scheduler context.
 
 
UNIT_OF_WORK_FACTORY_KEY
public static final String UNIT_OF_WORK_FACTORY_KEY
- The key used to locate the optional EventTriggerCallback in the scheduler context.
 
 
FireEventJob
public FireEventJob()
execute
public void execute(org.quartz.JobExecutionContext context)
             throws org.quartz.JobExecutionException
- 
- Specified by:
- executein interface- org.quartz.Job
 
- 
- Throws:
- org.quartz.JobExecutionException
 
Copyright © 2010-2016. All Rights Reserved.