View Javadoc

1   /*
2    * $Id: ScheduledDispatchJobConfig.java 11613 2008-04-20 20:30:10Z rossmason $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.com
5    *
6    * The software in this package is published under the terms of the CPAL v1.0
7    * license, a copy of which has been included with this distribution in the
8    * LICENSE.txt file.
9    */
10  package org.mule.transport.quartz.jobs;
11  
12  import org.mule.transport.quartz.config.AbstractJobConfig;
13  
14  /**
15   * The configuration for the {@link org.mule.transport.quartz.jobs.ScheduledDispatchJob} job.
16   */
17  public class ScheduledDispatchJobConfig extends AbstractJobConfig
18  {
19      /** The endpoint ref has t be a string and not a reference to the actual endpoint because
20       * jobs can get stored in a database */
21      private String endpointRef;
22  
23      public String getEndpointRef()
24      {
25          return endpointRef;
26      }
27  
28      public void setEndpointRef(String endpointRef)
29      {
30          this.endpointRef = endpointRef;
31      }
32  
33      public Class getJobClass()
34      {
35          return ScheduledDispatchJob.class;
36      }
37  }