org.quartz.utils
Interface ConnectionProvider

All Known Implementing Classes:
JNDIConnectionProvider, PoolingConnectionProvider, WeblogicConnectionProvider

public interface ConnectionProvider

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

Author:
Mohammad Rezaei
See Also:
DBConnectionManager, PoolingConnectionProvider, JNDIConnectionProvider, 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-2011, Terracotta, Inc.