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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
setJndiURL
(String jndiURL) Called by reflection from StdSchedulerFactory.setBeanProps.void
shutdown()
-
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:
getConnection
in interfaceorg.quartz.utils.ConnectionProvider
- Throws:
SQLException
-
shutdown
- Specified by:
shutdown
in interfaceorg.quartz.utils.ConnectionProvider
- Throws:
SQLException
-
initialize
- Specified by:
initialize
in interfaceorg.quartz.utils.ConnectionProvider
- Throws:
SQLException
- Since:
- 7.10
-