org.quartz.utils
Interface ConnectionProvider

All Known Implementing Classes:
JNDIConnectionProvider, PoolingConnectionProvider

public interface ConnectionProvider

Implementations of this interface used by DBConnectionManager to provide connections from various sources.

Author:
Mohammad Rezaei
See Also:
DBConnectionManager, PoolingConnectionProvider, JNDIConnectionProvider, org.quartz.utils.weblogic.WeblogicConnectionProvider

Method Summary
 java.sql.Connection getConnection()
           
 void shutdown()
           
 

Method Detail

getConnection

java.sql.Connection getConnection()
                                  throws java.sql.SQLException
Returns:
connection managed by this provider
Throws:
java.sql.SQLException

shutdown

void shutdown()
              throws java.sql.SQLException
Throws:
java.sql.SQLException


Copyright 2001-2019, Terracotta, Inc.