|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EventJobDataBinder
Strategy towards reading/writing an Axon EventMessage from/to a Quartz JobDataMap.
Implementors may choose how to store the event message as serializable data in JobDataMap.
This is useful when one does not want to be limited to event payloads requiring to be Serializable
(used by Quartz job data map serialization).
QuartzEventScheduler,
FireEventJob| Method Summary | |
|---|---|
Object |
fromJobData(org.quartz.JobDataMap jobData)
Read an EventMessage (or its payload) from a JobDataMap. |
org.quartz.JobDataMap |
toJobData(Object eventMessage)
Write an eventMessage (or its payload) to a JobDataMap. |
| Method Detail |
|---|
org.quartz.JobDataMap toJobData(Object eventMessage)
eventMessage (or its payload) to a JobDataMap.
eventMessage - to write to the JobDataMap
JobDataMap written to (must not be null)Object fromJobData(org.quartz.JobDataMap jobData)
EventMessage (or its payload) from a JobDataMap.
jobData - to read from
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||