Datasource
Description
Deployment Facts
Containment | Avalon Framework 4.2.0 |
Lifestyle | singleton |
Lifecycle
Stage | Description | ||||||
---|---|---|---|---|---|---|---|
LogEnabled | Logs lifescycle stages and handles assignment of logging channels to managed connection handlers. | ||||||
Contextualizable |
|
||||||
Configurable |
Example configuration: <configuration> <data-source name="default" class="org.apache.avalon.excalibur.datasource.JdbcDataSource"> <!-- configuration for JdbcDataSource --> <pool-controller min="5" max="10" connection-class="my.overrided.ConnectionClass"> <keep-alive>select 1</keep-alive> </pool-controller> <driver>com.database.jdbc.JdbcDriver</driver> <dburl>jdbc:driver://host/mydb</dburl> <user>username</user> <password>password</password> </data-source> </configuration> |
||||||
Initializable | Component initialization. | ||||||
Disposable | Component disposal. |