org.apache.cocoon.components.cron
Class DataSourceComponentConnectionProvider
java.lang.Object
org.apache.cocoon.components.cron.DataSourceComponentConnectionProvider
- All Implemented Interfaces:
- org.quartz.utils.ConnectionProvider
public class DataSourceComponentConnectionProvider
- extends Object
- implements org.quartz.utils.ConnectionProvider
Quartz database connection provider that uses the
Excalibur DataSourceComponent service.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataSourceComponentConnectionProvider
public DataSourceComponentConnectionProvider(String dsName,
ServiceManager manager)
throws ConfigurationException
- Throws:
ConfigurationException
getConnection
public Connection getConnection()
throws SQLException
- Specified by:
getConnection
in interface org.quartz.utils.ConnectionProvider
- Throws:
SQLException
shutdown
public void shutdown()
throws SQLException
- Specified by:
shutdown
in interface org.quartz.utils.ConnectionProvider
- Throws:
SQLException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.