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