Java Doc for OracleDelegate.java in  » Project-Management » quartz » org » quartz » impl » jdbcjobstore » oracle » 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 » Project Management » quartz » org.quartz.impl.jdbcjobstore.oracle 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.quartz.impl.jdbcjobstore.StdJDBCDelegate
      org.quartz.impl.jdbcjobstore.oracle.OracleDelegate

All known Subclasses:   org.quartz.impl.jdbcjobstore.oracle.weblogic.WebLogicOracleDelegate,
OracleDelegate
public class OracleDelegate extends StdJDBCDelegate (Code)

This is a driver delegate for the Oracle JDBC driver. To use this delegate, jdbcDriverVendor should be configured as 'Oracle' with any jdbcDriverVersion.


See Also:   org.quartz.impl.jdbcjobstore.WebLogicDelegate
See Also:   org.quartz.impl.jdbcjobstore.oracle.weblogic.WebLogicOracleDelegate
author:
   James House
author:
   Patrick Lightbody
author:
   Eric Mueller


Field Summary
final public static  StringINSERT_ORACLE_CALENDAR
    
final public static  StringSELECT_ORACLE_CALENDAR_BLOB
    
final public static  StringSELECT_ORACLE_JOB_DETAIL_BLOB
    
final public static  StringSELECT_ORACLE_TRIGGER_JOB_DETAIL_BLOB
    
final public static  StringUPDATE_ORACLE_CALENDAR_BLOB
    
final public static  StringUPDATE_ORACLE_JOB_DETAIL
    
final public static  StringUPDATE_ORACLE_JOB_DETAIL_BLOB
    
final public static  StringUPDATE_ORACLE_JOB_DETAIL_EMPTY_BLOB
    
final public static  StringUPDATE_ORACLE_TRIGGER
    
final public static  StringUPDATE_ORACLE_TRIGGER_JOB_DETAIL_BLOB
    
final public static  StringUPDATE_ORACLE_TRIGGER_JOB_DETAIL_EMPTY_BLOB
    

Constructor Summary
public  OracleDelegate(Log logger, String tablePrefix, String instanceId)
    

Create new OrcaleDelegate instance.

public  OracleDelegate(Log logger, String tablePrefix, String instanceId, Boolean useProperties)
    

Create new OrcaleDelegate instance.


Method Summary
protected  ObjectgetJobDetailFromBlob(ResultSet rs, String colName)
    
protected  ObjectgetObjectFromBlob(ResultSet rs, String colName)
    
public  intinsertCalendar(Connection conn, String calendarName, Calendar calendar)
    
public  intinsertJobDetail(Connection conn, JobDetail job)
    
public  intinsertTrigger(Connection conn, Trigger trigger, String state, JobDetail jobDetail)
    
public  intupdateCalendar(Connection conn, String calendarName, Calendar calendar)
    
public  intupdateJobData(Connection conn, JobDetail job)
    
public  intupdateJobDetail(Connection conn, JobDetail job)
    
public  intupdateTrigger(Connection conn, Trigger trigger, String state, JobDetail jobDetail)
    
protected  BlobwriteDataToBlob(ResultSet rs, int column, byte[] data)
    

Field Detail
INSERT_ORACLE_CALENDAR
final public static String INSERT_ORACLE_CALENDAR(Code)



SELECT_ORACLE_CALENDAR_BLOB
final public static String SELECT_ORACLE_CALENDAR_BLOB(Code)



SELECT_ORACLE_JOB_DETAIL_BLOB
final public static String SELECT_ORACLE_JOB_DETAIL_BLOB(Code)



SELECT_ORACLE_TRIGGER_JOB_DETAIL_BLOB
final public static String SELECT_ORACLE_TRIGGER_JOB_DETAIL_BLOB(Code)



UPDATE_ORACLE_CALENDAR_BLOB
final public static String UPDATE_ORACLE_CALENDAR_BLOB(Code)



UPDATE_ORACLE_JOB_DETAIL
final public static String UPDATE_ORACLE_JOB_DETAIL(Code)



UPDATE_ORACLE_JOB_DETAIL_BLOB
final public static String UPDATE_ORACLE_JOB_DETAIL_BLOB(Code)



UPDATE_ORACLE_JOB_DETAIL_EMPTY_BLOB
final public static String UPDATE_ORACLE_JOB_DETAIL_EMPTY_BLOB(Code)



UPDATE_ORACLE_TRIGGER
final public static String UPDATE_ORACLE_TRIGGER(Code)



UPDATE_ORACLE_TRIGGER_JOB_DETAIL_BLOB
final public static String UPDATE_ORACLE_TRIGGER_JOB_DETAIL_BLOB(Code)



UPDATE_ORACLE_TRIGGER_JOB_DETAIL_EMPTY_BLOB
final public static String UPDATE_ORACLE_TRIGGER_JOB_DETAIL_EMPTY_BLOB(Code)




Constructor Detail
OracleDelegate
public OracleDelegate(Log logger, String tablePrefix, String instanceId)(Code)

Create new OrcaleDelegate instance.


Parameters:
  logger - the logger to use during execution
Parameters:
  tablePrefix - the prefix of all table names



OracleDelegate
public OracleDelegate(Log logger, String tablePrefix, String instanceId, Boolean useProperties)(Code)

Create new OrcaleDelegate instance.


Parameters:
  logger - the logger to use during execution
Parameters:
  tablePrefix - the prefix of all table names
Parameters:
  useProperties - use java.util.Properties for storage




Method Detail
getJobDetailFromBlob
protected Object getJobDetailFromBlob(ResultSet rs, String colName) throws ClassNotFoundException, IOException, SQLException(Code)



getObjectFromBlob
protected Object getObjectFromBlob(ResultSet rs, String colName) throws ClassNotFoundException, IOException, SQLException(Code)



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



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



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



updateCalendar
public int updateCalendar(Connection conn, String calendarName, Calendar calendar) throws IOException, 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)



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



writeDataToBlob
protected Blob writeDataToBlob(ResultSet rs, int column, byte[] data) throws SQLException(Code)



Fields inherited from org.quartz.impl.jdbcjobstore.StdJDBCDelegate
protected String instanceId(Code)(Java Doc)
protected Log logger(Code)(Java Doc)
protected String tablePrefix(Code)(Java Doc)
protected boolean useProperties(Code)(Java Doc)

Methods inherited from org.quartz.impl.jdbcjobstore.StdJDBCDelegate
public boolean calendarExists(Connection conn, String calendarName) throws SQLException(Code)(Java Doc)
public boolean calendarIsReferenced(Connection conn, String calendarName) throws SQLException(Code)(Java Doc)
protected boolean canUseProperties()(Code)(Java Doc)
protected void closeResultSet(ResultSet rs)(Code)(Java Doc)
protected void closeStatement(Statement statement)(Code)(Java Doc)
protected Map convertFromProperty(Properties properties) throws IOException(Code)(Java Doc)
protected Properties convertToProperty(Map data) throws IOException(Code)(Java Doc)
public int countMisfiredTriggersInStates(Connection conn, String state1, String state2, long ts) throws SQLException(Code)(Java Doc)
public int deleteAllPausedTriggerGroups(Connection conn) throws SQLException(Code)(Java Doc)
public int deleteBlobTrigger(Connection conn, String triggerName, String groupName) throws SQLException(Code)(Java Doc)
public int deleteCalendar(Connection conn, String calendarName) throws SQLException(Code)(Java Doc)
public int deleteCronTrigger(Connection conn, String triggerName, String groupName) throws SQLException(Code)(Java Doc)
public int deleteFiredTrigger(Connection conn, String entryId) throws SQLException(Code)(Java Doc)
public int deleteFiredTriggers(Connection conn) throws SQLException(Code)(Java Doc)
public int deleteFiredTriggers(Connection conn, String instanceId) throws SQLException(Code)(Java Doc)
public int deleteJobDetail(Connection conn, String jobName, String groupName) throws SQLException(Code)(Java Doc)
public int deleteJobListeners(Connection conn, String jobName, String groupName) throws SQLException(Code)(Java Doc)
public int deletePausedTriggerGroup(Connection conn, String groupName) throws SQLException(Code)(Java Doc)
public int deleteSchedulerState(Connection conn, String instanceId) throws SQLException(Code)(Java Doc)
public int deleteSimpleTrigger(Connection conn, String triggerName, String groupName) throws SQLException(Code)(Java Doc)
public int deleteTrigger(Connection conn, String triggerName, String groupName) throws SQLException(Code)(Java Doc)
public int deleteTriggerListeners(Connection conn, String triggerName, String groupName) throws SQLException(Code)(Java Doc)
public int deleteVolatileFiredTriggers(Connection conn) throws SQLException(Code)(Java Doc)
protected boolean getBoolean(ResultSet rs, String columnName) throws SQLException(Code)(Java Doc)
protected boolean getBoolean(ResultSet rs, int columnIndex) throws SQLException(Code)(Java Doc)
protected Object getJobDetailFromBlob(ResultSet rs, String colName) throws ClassNotFoundException, IOException, SQLException(Code)(Java Doc)
protected Object getKeyOfNonSerializableValue(Map data)(Code)(Java Doc)
protected Object getObjectFromBlob(ResultSet rs, String colName) throws ClassNotFoundException, IOException, SQLException(Code)(Java Doc)
public int insertBlobTrigger(Connection conn, Trigger trigger) throws SQLException, IOException(Code)(Java Doc)
public int insertCalendar(Connection conn, String calendarName, Calendar calendar) throws IOException, SQLException(Code)(Java Doc)
public int insertCronTrigger(Connection conn, CronTrigger trigger) throws SQLException(Code)(Java Doc)
public int insertFiredTrigger(Connection conn, Trigger trigger, String state, JobDetail job) throws SQLException(Code)(Java Doc)
public int insertJobDetail(Connection conn, JobDetail job) throws IOException, SQLException(Code)(Java Doc)
public int insertJobListener(Connection conn, JobDetail job, String listener) throws SQLException(Code)(Java Doc)
public int insertPausedTriggerGroup(Connection conn, String groupName) throws SQLException(Code)(Java Doc)
public int insertSchedulerState(Connection conn, String instanceId, long checkInTime, long interval) throws SQLException(Code)(Java Doc)
public int insertSimpleTrigger(Connection conn, SimpleTrigger trigger) throws SQLException(Code)(Java Doc)
public int insertTrigger(Connection conn, Trigger trigger, String state, JobDetail jobDetail) throws SQLException, IOException(Code)(Java Doc)
public int insertTriggerListener(Connection conn, Trigger trigger, String listener) throws SQLException(Code)(Java Doc)
public boolean isExistingTriggerGroup(Connection conn, String groupName) throws SQLException(Code)(Java Doc)
public boolean isJobStateful(Connection conn, String jobName, String groupName) throws SQLException(Code)(Java Doc)
public boolean isTriggerGroupPaused(Connection conn, String groupName) throws SQLException(Code)(Java Doc)
public boolean jobExists(Connection conn, String jobName, String groupName) throws SQLException(Code)(Java Doc)
final protected String rtp(String query)(Code)(Java Doc)
public Calendar selectCalendar(Connection conn, String calendarName) throws ClassNotFoundException, IOException, SQLException(Code)(Java Doc)
public String[] selectCalendars(Connection conn) throws SQLException(Code)(Java Doc)
public Set selectFiredTriggerInstanceNames(Connection conn) throws SQLException(Code)(Java Doc)
public List selectFiredTriggerRecords(Connection conn, String triggerName, String groupName) throws SQLException(Code)(Java Doc)
public List selectFiredTriggerRecordsByJob(Connection conn, String jobName, String groupName) throws SQLException(Code)(Java Doc)
public List selectInstancesFiredTriggerRecords(Connection conn, String instanceName) throws SQLException(Code)(Java Doc)
public JobDetail selectJobDetail(Connection conn, String jobName, String groupName, ClassLoadHelper loadHelper) throws ClassNotFoundException, IOException, SQLException(Code)(Java Doc)
public int selectJobExecutionCount(Connection conn, String jobName, String jobGroup) throws SQLException(Code)(Java Doc)
public JobDetail selectJobForTrigger(Connection conn, String triggerName, String groupName, ClassLoadHelper loadHelper) throws ClassNotFoundException, SQLException(Code)(Java Doc)
public String[] selectJobGroups(Connection conn) throws SQLException(Code)(Java Doc)
public String[] selectJobListeners(Connection conn, String jobName, String groupName) throws SQLException(Code)(Java Doc)
public String[] selectJobsInGroup(Connection conn, String groupName) throws SQLException(Code)(Java Doc)
public Key[] selectMisfiredTriggers(Connection conn, long ts) throws SQLException(Code)(Java Doc)
public Key[] selectMisfiredTriggersInGroupInState(Connection conn, String groupName, String state, long ts) throws SQLException(Code)(Java Doc)
public Key[] selectMisfiredTriggersInState(Connection conn, String state, long ts) throws SQLException(Code)(Java Doc)
public boolean selectMisfiredTriggersInStates(Connection conn, String state1, String state2, long ts, int count, List resultList) throws SQLException(Code)(Java Doc)
public long selectNextFireTime(Connection conn) throws SQLException(Code)(Java Doc)
public int selectNumCalendars(Connection conn) throws SQLException(Code)(Java Doc)
public int selectNumJobs(Connection conn) throws SQLException(Code)(Java Doc)
public int selectNumTriggers(Connection conn) throws SQLException(Code)(Java Doc)
public int selectNumTriggersForJob(Connection conn, String jobName, String groupName) throws SQLException(Code)(Java Doc)
public Set selectPausedTriggerGroups(Connection conn) throws SQLException(Code)(Java Doc)
public List selectSchedulerStateRecords(Connection conn, String instanceId) throws SQLException(Code)(Java Doc)
public List selectStatefulJobsOfTriggerGroup(Connection conn, String groupName) throws SQLException(Code)(Java Doc)
public Trigger selectTrigger(Connection conn, String triggerName, String groupName) throws SQLException, ClassNotFoundException, IOException(Code)(Java Doc)
public Key selectTriggerForFireTime(Connection conn, long fireTime) throws SQLException(Code)(Java Doc)
public String[] selectTriggerGroups(Connection conn) throws SQLException(Code)(Java Doc)
public JobDataMap selectTriggerJobDataMap(Connection conn, String triggerName, String groupName) throws SQLException, ClassNotFoundException, IOException(Code)(Java Doc)
public String[] selectTriggerListeners(Connection conn, String triggerName, String groupName) throws SQLException(Code)(Java Doc)
public Key[] selectTriggerNamesForJob(Connection conn, String jobName, String groupName) throws SQLException(Code)(Java Doc)
public String selectTriggerState(Connection conn, String triggerName, String groupName) throws SQLException(Code)(Java Doc)
public TriggerStatus selectTriggerStatus(Connection conn, String triggerName, String groupName) throws SQLException(Code)(Java Doc)
public Key selectTriggerToAcquire(Connection conn, long noLaterThan, long noEarlierThan) throws SQLException(Code)(Java Doc)
public Trigger[] selectTriggersForCalendar(Connection conn, String calName) throws SQLException, ClassNotFoundException, IOException(Code)(Java Doc)
public Trigger[] selectTriggersForJob(Connection conn, String jobName, String groupName) throws SQLException, ClassNotFoundException, IOException(Code)(Java Doc)
public Trigger[] selectTriggersForRecoveringJobs(Connection conn) throws SQLException, IOException, ClassNotFoundException(Code)(Java Doc)
public String[] selectTriggersInGroup(Connection conn, String groupName) throws SQLException(Code)(Java Doc)
public Key[] selectTriggersInState(Connection conn, String state) throws SQLException(Code)(Java Doc)
public Key[] selectVolatileJobs(Connection conn) throws SQLException(Code)(Java Doc)
public Key[] selectVolatileTriggers(Connection conn) throws SQLException(Code)(Java Doc)
protected ByteArrayOutputStream serializeJobData(JobDataMap data) throws IOException(Code)(Java Doc)
protected ByteArrayOutputStream serializeObject(Object obj) throws IOException(Code)(Java Doc)
protected void setBoolean(PreparedStatement ps, int index, boolean val) throws SQLException(Code)(Java Doc)
protected void setBytes(PreparedStatement ps, int index, ByteArrayOutputStream baos) throws SQLException(Code)(Java Doc)
public boolean triggerExists(Connection conn, String triggerName, String groupName) throws SQLException(Code)(Java Doc)
public int updateBlobTrigger(Connection conn, Trigger trigger) throws SQLException, IOException(Code)(Java Doc)
public int updateCalendar(Connection conn, String calendarName, Calendar calendar) throws IOException, SQLException(Code)(Java Doc)
public int updateCronTrigger(Connection conn, CronTrigger trigger) throws SQLException(Code)(Java Doc)
public int updateJobData(Connection conn, JobDetail job) throws IOException, SQLException(Code)(Java Doc)
public int updateJobDetail(Connection conn, JobDetail job) throws IOException, SQLException(Code)(Java Doc)
public int updateSchedulerState(Connection conn, String instanceId, long checkInTime) throws SQLException(Code)(Java Doc)
public int updateSimpleTrigger(Connection conn, SimpleTrigger trigger) throws SQLException(Code)(Java Doc)
public int updateTrigger(Connection conn, Trigger trigger, String state, JobDetail jobDetail) throws SQLException, IOException(Code)(Java Doc)
public int updateTriggerGroupStateFromOtherState(Connection conn, String groupName, String newState, String oldState) throws SQLException(Code)(Java Doc)
public int updateTriggerGroupStateFromOtherStates(Connection conn, String groupName, String newState, String oldState1, String oldState2, String oldState3) throws SQLException(Code)(Java Doc)
public int updateTriggerState(Connection conn, String triggerName, String groupName, String state) throws SQLException(Code)(Java Doc)
public int updateTriggerStateFromOtherState(Connection conn, String triggerName, String groupName, String newState, String oldState) throws SQLException(Code)(Java Doc)
public int updateTriggerStateFromOtherStates(Connection conn, String triggerName, String groupName, String newState, String oldState1, String oldState2, String oldState3) throws SQLException(Code)(Java Doc)
public int updateTriggerStateFromOtherStatesBeforeTime(Connection conn, String newState, String oldState1, String oldState2, long time) throws SQLException(Code)(Java Doc)
public int updateTriggerStatesForJob(Connection conn, String jobName, String groupName, String state) throws SQLException(Code)(Java Doc)
public int updateTriggerStatesForJobFromOtherState(Connection conn, String jobName, String groupName, String state, String oldState) throws SQLException(Code)(Java Doc)
public int updateTriggerStatesFromOtherStates(Connection conn, String newState, String oldState1, String oldState2) throws SQLException(Code)(Java Doc)

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.