Package org.nuxeo.ecm.core.scheduler
Class NuxeoQuartzConnectionProvider
java.lang.Object
org.nuxeo.ecm.core.scheduler.NuxeoQuartzConnectionProvider
- All Implemented Interfaces:
org.quartz.utils.ConnectionProvider
public class NuxeoQuartzConnectionProvider
extends Object
implements org.quartz.utils.ConnectionProvider
Quartz Connection Provider delegating to the Nuxeo datasource framework.
- Since:
- 7.1
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidsetJndiURL(String jndiURL) Called by reflection from StdSchedulerFactory.setBeanProps.voidshutdown()
-
Field Details
-
dataSourceName
-
connection
-
-
Constructor Details
-
NuxeoQuartzConnectionProvider
public NuxeoQuartzConnectionProvider()
-
-
Method Details
-
setJndiURL
Called by reflection from StdSchedulerFactory.setBeanProps.- Parameters:
jndiURL- the JNDI URL from the Quartz configuration
-
getConnection
- Specified by:
getConnectionin interfaceorg.quartz.utils.ConnectionProvider- Throws:
SQLException
-
shutdown
- Specified by:
shutdownin interfaceorg.quartz.utils.ConnectionProvider- Throws:
SQLException
-
initialize
- Specified by:
initializein interfaceorg.quartz.utils.ConnectionProvider- Throws:
SQLException- Since:
- 7.10
-