KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > quartz > plugins > xml > JobInitializationPluginMultiple


1 /*
2  * Copyright 2004-2005 OpenSymphony
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5  * use this file except in compliance with the License. You may obtain a copy
6  * of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13  * License for the specific language governing permissions and limitations
14  * under the License.
15  *
16  */

17
18 /*
19  * Previously Copyright (c) 2001-2004 James House
20  */

21 package org.quartz.plugins.xml;
22
23
24 /**
25  * This plugin loads XML files to add jobs and schedule them with triggers
26  * as the scheduler is initialized, and can optionally periodically scan the
27  * file for changes.
28  *
29  * @deprecated Use the <code>{@link org.quartz.plugins.xml.JobInitializationPlugin}</code>
30  * instead now that it supports multiple files. <b>NOTE:</b>
31  * <code>JobInitializationPluginMultiple</code> has different defaults for two properties:
32  * "overWriteExistingJobs" and "validating" both default to true for
33  * <code>JobInitializationPluginMultiple</code> but false for <code>JobInitializationPlugin}</code>.
34  *
35  * @see org.quartz.plugins.xml.JobInitializationPlugin
36  *
37  * @author Brooke Hedrick
38  */

39 public class JobInitializationPluginMultiple extends JobInitializationPlugin {
40
41     public JobInitializationPluginMultiple() {
42         setOverWriteExistingJobs(true);
43         setValidating(true);
44     }
45 }
46
47 // EOF
48
Popular Tags