Java Doc for QuartzDriverDelegate.java in  » Content-Management-System » apache-lenya-2.0 » org » apache » cocoon » components » cron » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Content Management System » apache lenya 2.0 » org.apache.cocoon.components.cron 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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  booleancalendarExists(Connection conn, String calendarName)
    
public  booleancalendarIsReferenced(Connection conn, String calendarName)
    
public  intdeleteAllPausedTriggerGroups(Connection conn)
    
public  intdeleteBlobTrigger(Connection conn, String triggerName, String groupName)
    
public  intdeleteCalendar(Connection conn, String calendarName)
    
public  intdeleteCronTrigger(Connection conn, String triggerName, String groupName)
    
public  intdeleteFiredTrigger(Connection conn, String entryId)
    
public  intdeleteFiredTriggers(Connection conn)
    
public  intdeleteFiredTriggers(Connection conn, String instanceId)
    
public  intdeleteJobDetail(Connection conn, String jobName, String groupName)
    
public  intdeleteJobListeners(Connection conn, String jobName, String groupName)
    
public  intdeletePausedTriggerGroup(Connection conn, String groupName)
    
public  intdeleteSchedulerState(Connection conn, String instanceId)
    
public  intdeleteSimpleTrigger(Connection conn, String triggerName, String groupName)
    
public  intdeleteTrigger(Connection conn, String triggerName, String groupName)
    
public  intdeleteTriggerListeners(Connection conn, String triggerName, String groupName)
    
public  intdeleteVolatileFiredTriggers(Connection conn)
    
public  intinsertBlobTrigger(Connection conn, Trigger trigger)
    
public  intinsertCalendar(Connection conn, String calendarName, Calendar calendar)
    
public  intinsertCronTrigger(Connection conn, CronTrigger trigger)
    
public  intinsertFiredTrigger(Connection conn, Trigger trigger, String state, JobDetail jobDetail)
    
public  intinsertJobDetail(Connection conn, JobDetail job)
    
public  intinsertJobListener(Connection conn, JobDetail job, String listener)
    
public  intinsertPausedTriggerGroup(Connection conn, String groupName)
    
public  intinsertSchedulerState(Connection conn, String instanceId, long checkInTime, long interval, String recoverer)
    
public  intinsertSimpleTrigger(Connection conn, SimpleTrigger trigger)
    
public  intinsertTrigger(Connection conn, Trigger trigger, String state, JobDetail jobDetail)
    
public  intinsertTriggerListener(Connection conn, Trigger trigger, String listener)
    
public  booleanisExistingTriggerGroup(Connection conn, String groupName)
    
public  booleanisJobStateful(Connection conn, String jobName, String groupName)
    
public  booleanisTriggerGroupPaused(Connection conn, String groupName)
    
public  booleanjobExists(Connection conn, String jobName, String groupName)
    
public  CalendarselectCalendar(Connection conn, String calendarName)
    
public  String[]selectCalendars(Connection conn)
    
public  ListselectFiredTriggerRecords(Connection conn, String triggerName, String groupName)
    
public  ListselectFiredTriggerRecordsByJob(Connection conn, String jobName, String groupName)
    
public  ListselectInstancesFiredTriggerRecords(Connection conn, String instanceName)
    
public  JobDetailselectJobDetail(Connection conn, String jobName, String groupName, ClassLoadHelper loadHelper)
    
public  intselectJobExecutionCount(Connection conn, String jobName, String jobGroup)
    
public  JobDetailselectJobForTrigger(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  longselectNextFireTime(Connection conn)
    
public  intselectNumCalendars(Connection conn)
    
public  intselectNumJobs(Connection conn)
    
public  intselectNumTriggers(Connection conn)
    
public  intselectNumTriggersForJob(Connection conn, String jobName, String groupName)
    
public  SetselectPausedTriggerGroups(Connection conn)
    
public  ListselectSchedulerStateRecords(Connection conn, String instanceId)
    
public  ListselectStatefulJobsOfTriggerGroup(Connection conn, String groupName)
    
public  TriggerselectTrigger(Connection conn, String triggerName, String groupName)
    
public  KeyselectTriggerForFireTime(Connection conn, long fireTime)
    
public  String[]selectTriggerGroups(Connection conn)
    
public  JobDataMapselectTriggerJobDataMap(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  StringselectTriggerState(Connection conn, String triggerName, String groupName)
    
public  TriggerStatusselectTriggerStatus(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  booleantriggerExists(Connection conn, String triggerName, String groupName)
    
public  intupdateBlobTrigger(Connection conn, Trigger trigger)
    
public  intupdateCalendar(Connection conn, String calendarName, Calendar calendar)
    
public  intupdateCronTrigger(Connection conn, CronTrigger trigger)
    
public  intupdateJobData(Connection conn, JobDetail job)
    
public  intupdateJobDetail(Connection conn, JobDetail job)
    
public  intupdateSchedulerState(Connection conn, String instanceId, long checkInTime, String recoverer)
    
public  intupdateSimpleTrigger(Connection conn, SimpleTrigger trigger)
    
public  intupdateTrigger(Connection conn, Trigger trigger, String state, JobDetail jobDetail)
    
public  intupdateTriggerGroupStateFromOtherState(Connection conn, String groupName, String newState, String oldState)
    
public  intupdateTriggerGroupStateFromOtherStates(Connection conn, String groupName, String newState, String oldState1, String oldState2, String oldState3)
    
public  intupdateTriggerState(Connection conn, String triggerName, String groupName, String state)
    
public  intupdateTriggerStateFromOtherState(Connection conn, String triggerName, String groupName, String newState, String oldState)
    
public  intupdateTriggerStateFromOtherStates(Connection conn, String triggerName, String groupName, String newState, String oldState1, String oldState2, String oldState3)
    
public  intupdateTriggerStateFromOtherStatesBeforeTime(Connection conn, String newState, String oldState1, String oldState2, long time)
    
public  intupdateTriggerStatesForJob(Connection conn, String jobName, String groupName, String state)
    
public  intupdateTriggerStatesForJobFromOtherState(Connection conn, String jobName, String groupName, String state, String oldState)
    
public  intupdateTriggerStatesFromOtherStates(Connection conn, String newState, String oldState1, String oldState2)
    


Constructor Detail
QuartzDriverDelegate
public QuartzDriverDelegate(Logger logger, ServiceManager manager, Context context, DriverDelegate delegate)(Code)




Method Detail
calendarExists
public boolean calendarExists(Connection conn, String calendarName) throws SQLException(Code)



calendarIsReferenced
public boolean calendarIsReferenced(Connection conn, String calendarName) throws SQLException(Code)



deleteAllPausedTriggerGroups
public int deleteAllPausedTriggerGroups(Connection conn) throws SQLException(Code)



deleteBlobTrigger
public int deleteBlobTrigger(Connection conn, String triggerName, String groupName) throws SQLException(Code)



deleteCalendar
public int deleteCalendar(Connection conn, String calendarName) throws SQLException(Code)



deleteCronTrigger
public int deleteCronTrigger(Connection conn, String triggerName, String groupName) throws SQLException(Code)



deleteFiredTrigger
public int deleteFiredTrigger(Connection conn, String entryId) throws SQLException(Code)



deleteFiredTriggers
public int deleteFiredTriggers(Connection conn) throws SQLException(Code)



deleteFiredTriggers
public int deleteFiredTriggers(Connection conn, String instanceId) throws SQLException(Code)



deleteJobDetail
public int deleteJobDetail(Connection conn, String jobName, String groupName) throws SQLException(Code)



deleteJobListeners
public int deleteJobListeners(Connection conn, String jobName, String groupName) throws SQLException(Code)



deletePausedTriggerGroup
public int deletePausedTriggerGroup(Connection conn, String groupName) throws SQLException(Code)



deleteSchedulerState
public int deleteSchedulerState(Connection conn, String instanceId) throws SQLException(Code)



deleteSimpleTrigger
public int deleteSimpleTrigger(Connection conn, String triggerName, String groupName) throws SQLException(Code)



deleteTrigger
public int deleteTrigger(Connection conn, String triggerName, String groupName) throws SQLException(Code)



deleteTriggerListeners
public int deleteTriggerListeners(Connection conn, String triggerName, String groupName) throws SQLException(Code)



deleteVolatileFiredTriggers
public int deleteVolatileFiredTriggers(Connection conn) throws SQLException(Code)



insertBlobTrigger
public int insertBlobTrigger(Connection conn, Trigger trigger) throws SQLException, IOException(Code)



insertCalendar
public int insertCalendar(Connection conn, String calendarName, Calendar calendar) throws IOException, SQLException(Code)



insertCronTrigger
public int insertCronTrigger(Connection conn, CronTrigger trigger) throws SQLException(Code)



insertFiredTrigger
public int insertFiredTrigger(Connection conn, Trigger trigger, String state, JobDetail jobDetail) throws SQLException(Code)



insertJobDetail
public int insertJobDetail(Connection conn, JobDetail job) throws IOException, SQLException(Code)



insertJobListener
public int insertJobListener(Connection conn, JobDetail job, String listener) throws SQLException(Code)



insertPausedTriggerGroup
public int insertPausedTriggerGroup(Connection conn, String groupName) throws SQLException(Code)



insertSchedulerState
public int insertSchedulerState(Connection conn, String instanceId, long checkInTime, long interval, String recoverer) throws SQLException(Code)



insertSimpleTrigger
public int insertSimpleTrigger(Connection conn, SimpleTrigger trigger) throws SQLException(Code)



insertTrigger
public int insertTrigger(Connection conn, Trigger trigger, String state, JobDetail jobDetail) throws SQLException, IOException(Code)



insertTriggerListener
public int insertTriggerListener(Connection conn, Trigger trigger, String listener) throws SQLException(Code)



isExistingTriggerGroup
public boolean isExistingTriggerGroup(Connection conn, String groupName) throws SQLException(Code)



isJobStateful
public boolean isJobStateful(Connection conn, String jobName, String groupName) throws SQLException(Code)



isTriggerGroupPaused
public boolean isTriggerGroupPaused(Connection conn, String groupName) throws SQLException(Code)



jobExists
public boolean jobExists(Connection conn, String jobName, String groupName) throws SQLException(Code)



selectCalendar
public Calendar selectCalendar(Connection conn, String calendarName) throws ClassNotFoundException, IOException, SQLException(Code)



selectCalendars
public String[] selectCalendars(Connection conn) throws SQLException(Code)



selectFiredTriggerRecords
public List selectFiredTriggerRecords(Connection conn, String triggerName, String groupName) throws SQLException(Code)



selectFiredTriggerRecordsByJob
public List selectFiredTriggerRecordsByJob(Connection conn, String jobName, String groupName) throws SQLException(Code)



selectInstancesFiredTriggerRecords
public List selectInstancesFiredTriggerRecords(Connection conn, String instanceName) throws SQLException(Code)



selectJobDetail
public JobDetail selectJobDetail(Connection conn, String jobName, String groupName, ClassLoadHelper loadHelper) throws ClassNotFoundException, IOException, SQLException(Code)



selectJobExecutionCount
public int selectJobExecutionCount(Connection conn, String jobName, String jobGroup) throws SQLException(Code)



selectJobForTrigger
public JobDetail selectJobForTrigger(Connection conn, String triggerName, String groupName, ClassLoadHelper loadHelper) throws SQLException, ClassNotFoundException(Code)



selectJobGroups
public String[] selectJobGroups(Connection conn) throws SQLException(Code)



selectJobListeners
public String[] selectJobListeners(Connection conn, String jobName, String groupName) throws SQLException(Code)



selectJobsInGroup
public String[] selectJobsInGroup(Connection conn, String groupName) throws SQLException(Code)



selectMisfiredTriggers
public Key[] selectMisfiredTriggers(Connection conn, long ts) throws SQLException(Code)



selectMisfiredTriggersInGroupInState
public Key[] selectMisfiredTriggersInGroupInState(Connection conn, String groupName, String state, long ts) throws SQLException(Code)



selectMisfiredTriggersInState
public Key[] selectMisfiredTriggersInState(Connection conn, String state, long ts) throws SQLException(Code)



selectNextFireTime
public long selectNextFireTime(Connection conn) throws SQLException(Code)



selectNumCalendars
public int selectNumCalendars(Connection conn) throws SQLException(Code)



selectNumJobs
public int selectNumJobs(Connection conn) throws SQLException(Code)



selectNumTriggers
public int selectNumTriggers(Connection conn) throws SQLException(Code)



selectNumTriggersForJob
public int selectNumTriggersForJob(Connection conn, String jobName, String groupName) throws SQLException(Code)



selectPausedTriggerGroups
public Set selectPausedTriggerGroups(Connection conn) throws SQLException(Code)



selectSchedulerStateRecords
public List selectSchedulerStateRecords(Connection conn, String instanceId) throws SQLException(Code)



selectStatefulJobsOfTriggerGroup
public List selectStatefulJobsOfTriggerGroup(Connection conn, String groupName) throws SQLException(Code)



selectTrigger
public Trigger selectTrigger(Connection conn, String triggerName, String groupName) throws SQLException, ClassNotFoundException, IOException(Code)



selectTriggerForFireTime
public Key selectTriggerForFireTime(Connection conn, long fireTime) throws SQLException(Code)



selectTriggerGroups
public String[] selectTriggerGroups(Connection conn) throws SQLException(Code)



selectTriggerJobDataMap
public JobDataMap selectTriggerJobDataMap(Connection conn, String triggerName, String groupName) throws SQLException, ClassNotFoundException, IOException(Code)



selectTriggerListeners
public String[] selectTriggerListeners(Connection conn, String triggerName, String groupName) throws SQLException(Code)



selectTriggerNamesForJob
public Key[] selectTriggerNamesForJob(Connection conn, String jobName, String groupName) throws SQLException(Code)



selectTriggerState
public String selectTriggerState(Connection conn, String triggerName, String groupName) throws SQLException(Code)



selectTriggerStatus
public TriggerStatus selectTriggerStatus(Connection conn, String triggerName, String groupName) throws SQLException(Code)



selectTriggersForCalendar
public Trigger[] selectTriggersForCalendar(Connection conn, String calName) throws SQLException, ClassNotFoundException, IOException(Code)



selectTriggersForJob
public Trigger[] selectTriggersForJob(Connection conn, String jobName, String groupName) throws SQLException, ClassNotFoundException, IOException(Code)



selectTriggersForRecoveringJobs
public Trigger[] selectTriggersForRecoveringJobs(Connection conn) throws SQLException, IOException, ClassNotFoundException(Code)



selectTriggersInGroup
public String[] selectTriggersInGroup(Connection conn, String groupName) throws SQLException(Code)



selectTriggersInState
public Key[] selectTriggersInState(Connection conn, String state) throws SQLException(Code)



selectVolatileJobs
public Key[] selectVolatileJobs(Connection conn) throws SQLException(Code)



selectVolatileTriggers
public Key[] selectVolatileTriggers(Connection conn) throws SQLException(Code)



triggerExists
public boolean triggerExists(Connection conn, String triggerName, String groupName) throws SQLException(Code)



updateBlobTrigger
public int updateBlobTrigger(Connection conn, Trigger trigger) throws SQLException, IOException(Code)



updateCalendar
public int updateCalendar(Connection conn, String calendarName, Calendar calendar) throws IOException, SQLException(Code)



updateCronTrigger
public int updateCronTrigger(Connection conn, CronTrigger trigger) throws SQLException(Code)



updateJobData
public int updateJobData(Connection conn, JobDetail job) throws IOException, SQLException(Code)



updateJobDetail
public int updateJobDetail(Connection conn, JobDetail job) throws IOException, SQLException(Code)



updateSchedulerState
public int updateSchedulerState(Connection conn, String instanceId, long checkInTime, String recoverer) throws SQLException(Code)



updateSimpleTrigger
public int updateSimpleTrigger(Connection conn, SimpleTrigger trigger) throws SQLException(Code)



updateTrigger
public int updateTrigger(Connection conn, Trigger trigger, String state, JobDetail jobDetail) throws SQLException, IOException(Code)



updateTriggerGroupStateFromOtherState
public int updateTriggerGroupStateFromOtherState(Connection conn, String groupName, String newState, String oldState) throws SQLException(Code)



updateTriggerGroupStateFromOtherStates
public int updateTriggerGroupStateFromOtherStates(Connection conn, String groupName, String newState, String oldState1, String oldState2, String oldState3) throws SQLException(Code)



updateTriggerState
public int updateTriggerState(Connection conn, String triggerName, String groupName, String state) throws SQLException(Code)



updateTriggerStateFromOtherState
public int updateTriggerStateFromOtherState(Connection conn, String triggerName, String groupName, String newState, String oldState) throws SQLException(Code)



updateTriggerStateFromOtherStates
public int updateTriggerStateFromOtherStates(Connection conn, String triggerName, String groupName, String newState, String oldState1, String oldState2, String oldState3) throws SQLException(Code)



updateTriggerStateFromOtherStatesBeforeTime
public int updateTriggerStateFromOtherStatesBeforeTime(Connection conn, String newState, String oldState1, String oldState2, long time) throws SQLException(Code)



updateTriggerStatesForJob
public int updateTriggerStatesForJob(Connection conn, String jobName, String groupName, String state) throws SQLException(Code)



updateTriggerStatesForJobFromOtherState
public int updateTriggerStatesForJobFromOtherState(Connection conn, String jobName, String groupName, String state, String oldState) throws SQLException(Code)



updateTriggerStatesFromOtherStates
public int updateTriggerStatesFromOtherStates(Connection conn, String newState, String oldState1, String oldState2) throws SQLException(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.