|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataSourceComponent
The standard interface for DataSources in Avalon.
Field Summary | |
---|---|
static String |
ROLE
The name of the role for convenience |
Method Summary | |
---|---|
Connection |
getConnection()
Gets the Connection to the database |
Methods inherited from interface org.apache.avalon.framework.configuration.Configurable |
---|
configure |
Field Detail |
---|
static final String ROLE
Method Detail |
---|
Connection getConnection() throws SQLException
NoValidConnectionException
- when there is no valid Connection wrapper
available in the classloader.
NoAvailableConnectionException
- when there are no more available
Connections in the pool.
SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |