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
 Connection getConnection()
           
 void initialize()
           
 void shutdown()
           
 

Method Detail

getConnection

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

shutdown

void shutdown()
              throws SQLException
Throws:
SQLException

initialize

void initialize()
                throws SQLException
Throws:
SQLException


Copyright 2001-2015, Terracotta, Inc.