org.apache.avalon.excalibur.datasource
Interface TraceableDataSourceComponent

All Superinterfaces:
org.apache.avalon.framework.component.Component, org.apache.avalon.framework.configuration.Configurable, DataSourceComponent, org.apache.avalon.framework.thread.ThreadSafe
All Known Implementing Classes:
ResourceLimitingJdbcDataSource

public interface TraceableDataSourceComponent
extends DataSourceComponent

The standard interface for DataSources in Avalon.

Since:
4.0
Version:
CVS $Revision: 1.4 $ $Date: 2004/02/28 11:47:14 $
Author:
Avalon Development Team

Field Summary
static java.lang.String ROLE
          The name of the role for convenience
 
Method Summary
 org.apache.avalon.excalibur.pool.TraceableResourceLimitingPool.State getState()
          Returns a snapshot of the current state of the pool.
 
Methods inherited from interface org.apache.avalon.excalibur.datasource.DataSourceComponent
getConnection
 
Methods inherited from interface org.apache.avalon.framework.configuration.Configurable
configure
 

Field Detail

ROLE

public static final java.lang.String ROLE
The name of the role for convenience

Method Detail

getState

public org.apache.avalon.excalibur.pool.TraceableResourceLimitingPool.State getState()
Returns a snapshot of the current state of the pool.

Returns:
A snapshot of the current pool state.


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.