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