org.apache.avalon.excalibur.datasource
インタフェース DataSourceComponent

すべてのスーパーインタフェース:
org.apache.avalon.framework.component.Component, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.thread.ThreadSafe
既知の実装クラスの一覧:
J2eeDataSource, JdbcDataSource

public interface DataSourceComponent
extends org.apache.avalon.framework.component.Component, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.thread.ThreadSafe

The standard interface for DataSources in Avalon.

導入されたバージョン:
4.0
バージョン:
CVS $Revision: 1.4 $ $Date: 2001/12/11 09:53:28 $
作成者:
Berin Loritsch

フィールドの概要
static java.lang.String ROLE
          The name of the role for convenience
 
メソッドの概要
 java.sql.Connection getConnection()
          Gets the Connection to the database
 
インタフェース org.apache.avalon.framework.configuration.Configurable から継承したメソッド
configure
 

フィールドの詳細

ROLE

public static final java.lang.String ROLE
The name of the role for convenience
メソッドの詳細

getConnection

public java.sql.Connection getConnection()
                                  throws java.sql.SQLException
Gets the Connection to the database
例外:
NoValidConnectionException - when there is no valid Connection wrapper available in the classloader.
NoAvailableConnectionException - when there are no more available Connections in the pool.


"Copyright ? 2001 Apache Jakarta Project. All Rights Reserved."