| java.lang.Object org.apache.cocoon.components.cron.QuartzDriverDelegate
QuartzDriverDelegate | public class QuartzDriverDelegate implements DriverDelegate(Code) | | Wrapper around another DriverDelegate instance.
This wrapper makes sure that three Cocoon specific transient objects are
removed from the JobDataMap before serializing it into the database, and
populated back into the map when JobDetailMap is loaded from the database.
These objects are:
- Logger
- ServiceManager
- Context
-
version: CVS $Id: QuartzDriverDelegate.java 433543 2006-08-22 06:22:54Z crossley $ since: 2.1.6 |
Constructor Summary | |
public | QuartzDriverDelegate(Logger logger, ServiceManager manager, Context context, DriverDelegate delegate) |
Method Summary | |
public boolean | calendarExists(Connection conn, String calendarName) | public boolean | calendarIsReferenced(Connection conn, String calendarName) | public int | deleteAllPausedTriggerGroups(Connection conn) | public int | deleteBlobTrigger(Connection conn, String triggerName, String groupName) | public int | deleteCalendar(Connection conn, String calendarName) | public int | deleteCronTrigger(Connection conn, String triggerName, String groupName) | public int | deleteFiredTrigger(Connection conn, String entryId) | public int | deleteFiredTriggers(Connection conn) | public int | deleteFiredTriggers(Connection conn, String instanceId) | public int | deleteJobDetail(Connection conn, String jobName, String groupName) | public int | deleteJobListeners(Connection conn, String jobName, String groupName) | public int | deletePausedTriggerGroup(Connection conn, String groupName) | public int | deleteSchedulerState(Connection conn, String instanceId) | public int | deleteSimpleTrigger(Connection conn, String triggerName, String groupName) | public int | deleteTrigger(Connection conn, String triggerName, String groupName) | public int | deleteTriggerListeners(Connection conn, String triggerName, String groupName) | public int | deleteVolatileFiredTriggers(Connection conn) | public int | insertBlobTrigger(Connection conn, Trigger trigger) | public int | insertCalendar(Connection conn, String calendarName, Calendar calendar) | public int | insertCronTrigger(Connection conn, CronTrigger trigger) | public int | insertFiredTrigger(Connection conn, Trigger trigger, String state, JobDetail jobDetail) | public int | insertJobDetail(Connection conn, JobDetail job) | public int | insertJobListener(Connection conn, JobDetail job, String listener) | public int | insertPausedTriggerGroup(Connection conn, String groupName) | public int | insertSchedulerState(Connection conn, String instanceId, long checkInTime, long interval, String recoverer) | public int | insertSimpleTrigger(Connection conn, SimpleTrigger trigger) | public int | insertTrigger(Connection conn, Trigger trigger, String state, JobDetail jobDetail) | public int | insertTriggerListener(Connection conn, Trigger trigger, String listener) | public boolean | isExistingTriggerGroup(Connection conn, String groupName) | public boolean | isJobStateful(Connection conn, String jobName, String groupName) | public boolean | isTriggerGroupPaused(Connection conn, String groupName) | public boolean | jobExists(Connection conn, String jobName, String groupName) | public Calendar | selectCalendar(Connection conn, String calendarName) | public String[] | selectCalendars(Connection conn) | public List | selectFiredTriggerRecords(Connection conn, String triggerName, String groupName) | public List | selectFiredTriggerRecordsByJob(Connection conn, String jobName, String groupName) | public List | selectInstancesFiredTriggerRecords(Connection conn, String instanceName) | public JobDetail | selectJobDetail(Connection conn, String jobName, String groupName, ClassLoadHelper loadHelper) | public int | selectJobExecutionCount(Connection conn, String jobName, String jobGroup) | public JobDetail | selectJobForTrigger(Connection conn, String triggerName, String groupName, ClassLoadHelper loadHelper) | public String[] | selectJobGroups(Connection conn) | public String[] | selectJobListeners(Connection conn, String jobName, String groupName) | public String[] | selectJobsInGroup(Connection conn, String groupName) | public Key[] | selectMisfiredTriggers(Connection conn, long ts) | public Key[] | selectMisfiredTriggersInGroupInState(Connection conn, String groupName, String state, long ts) | public Key[] | selectMisfiredTriggersInState(Connection conn, String state, long ts) | public long | selectNextFireTime(Connection conn) | public int | selectNumCalendars(Connection conn) | public int | selectNumJobs(Connection conn) | public int | selectNumTriggers(Connection conn) | public int | selectNumTriggersForJob(Connection conn, String jobName, String groupName) | public Set | selectPausedTriggerGroups(Connection conn) | public List | selectSchedulerStateRecords(Connection conn, String instanceId) | public List | selectStatefulJobsOfTriggerGroup(Connection conn, String groupName) | public Trigger | selectTrigger(Connection conn, String triggerName, String groupName) | public Key | selectTriggerForFireTime(Connection conn, long fireTime) | public String[] | selectTriggerGroups(Connection conn) | public JobDataMap | selectTriggerJobDataMap(Connection conn, String triggerName, String groupName) | public String[] | selectTriggerListeners(Connection conn, String triggerName, String groupName) | public Key[] | selectTriggerNamesForJob(Connection conn, String jobName, String groupName) | public String | selectTriggerState(Connection conn, String triggerName, String groupName) | public TriggerStatus | selectTriggerStatus(Connection conn, String triggerName, String groupName) | public Trigger[] | selectTriggersForCalendar(Connection conn, String calName) | public Trigger[] | selectTriggersForJob(Connection conn, String jobName, String groupName) | public Trigger[] | selectTriggersForRecoveringJobs(Connection conn) | public String[] | selectTriggersInGroup(Connection conn, String groupName) | public Key[] | selectTriggersInState(Connection conn, String state) | public Key[] | selectVolatileJobs(Connection conn) | public Key[] | selectVolatileTriggers(Connection conn) | public boolean | triggerExists(Connection conn, String triggerName, String groupName) | public int | updateBlobTrigger(Connection conn, Trigger trigger) | public int | updateCalendar(Connection conn, String calendarName, Calendar calendar) | public int | updateCronTrigger(Connection conn, CronTrigger trigger) | public int | updateJobData(Connection conn, JobDetail job) | public int | updateJobDetail(Connection conn, JobDetail job) | public int | updateSchedulerState(Connection conn, String instanceId, long checkInTime, String recoverer) | public int | updateSimpleTrigger(Connection conn, SimpleTrigger trigger) | public int | updateTrigger(Connection conn, Trigger trigger, String state, JobDetail jobDetail) | public int | updateTriggerGroupStateFromOtherState(Connection conn, String groupName, String newState, String oldState) | public int | updateTriggerGroupStateFromOtherStates(Connection conn, String groupName, String newState, String oldState1, String oldState2, String oldState3) | public int | updateTriggerState(Connection conn, String triggerName, String groupName, String state) | public int | updateTriggerStateFromOtherState(Connection conn, String triggerName, String groupName, String newState, String oldState) | public int | updateTriggerStateFromOtherStates(Connection conn, String triggerName, String groupName, String newState, String oldState1, String oldState2, String oldState3) | public int | updateTriggerStateFromOtherStatesBeforeTime(Connection conn, String newState, String oldState1, String oldState2, long time) | public int | updateTriggerStatesForJob(Connection conn, String jobName, String groupName, String state) | public int | updateTriggerStatesForJobFromOtherState(Connection conn, String jobName, String groupName, String state, String oldState) | public int | updateTriggerStatesFromOtherStates(Connection conn, String newState, String oldState1, String oldState2) |
QuartzDriverDelegate | public QuartzDriverDelegate(Logger logger, ServiceManager manager, Context context, DriverDelegate delegate)(Code) | | |
|
|