1
2
3
4
5
6
7
8
9
10 package org.mule.transport.quartz.jobs;
11
12 import org.mule.transport.quartz.config.AbstractJobConfig;
13
14 import org.quartz.Job;
15 import org.quartz.StatefulJob;
16
17
18
19
20 public class ScheduledDispatchJobConfig extends AbstractJobConfig
21 {
22
23
24
25
26 private String endpointRef;
27
28 public String getEndpointRef()
29 {
30 return endpointRef;
31 }
32
33 public void setEndpointRef(String endpointRef)
34 {
35 this.endpointRef = endpointRef;
36 }
37
38 @Override
39 protected Class<? extends StatefulJob> getStatefulJobClass()
40 {
41 return StatefulScheduledDispatchJob.class;
42 }
43
44 @Override
45 protected Class<? extends Job> getStatelessJobClass()
46 {
47 return ScheduledDispatchJob.class;
48 }
49 }