public class NuxeoQuartzConnectionProvider extends Object implements org.quartz.utils.ConnectionProvider
Modifier and Type | Field and Description |
---|---|
protected Connection |
connection |
protected String |
dataSourceName |
Constructor and Description |
---|
NuxeoQuartzConnectionProvider() |
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection() |
void |
initialize() |
void |
setJndiURL(String jndiURL)
Called by reflection from StdSchedulerFactory.setBeanProps.
|
void |
shutdown() |
protected String dataSourceName
protected Connection connection
public NuxeoQuartzConnectionProvider()
public void setJndiURL(String jndiURL)
jndiURL
- the JNDI URL from the Quartz configurationpublic Connection getConnection() throws SQLException
getConnection
in interface org.quartz.utils.ConnectionProvider
SQLException
public void shutdown() throws SQLException
shutdown
in interface org.quartz.utils.ConnectionProvider
SQLException
public void initialize() throws SQLException
initialize
in interface org.quartz.utils.ConnectionProvider
SQLException
Copyright © 2015 Nuxeo SA. All rights reserved.