org.qi4j.library.sql.dbcp

## Class DBCPDataSourceServiceImporter.Mixin

- java.lang.Object
- - org.qi4j.library.sql.datasource.AbstractDataSourceServiceImporterMixin<org.apache.commons.dbcp.BasicDataSource>
  - - org.qi4j.library.sql.dbcp.DBCPDataSourceServiceImporter.Mixin

- All Implemented Interfaces:
    ServiceImporter<DataSource>, DataSourceServiceImporterActivation
  Enclosing interface:
    DBCPDataSourceServiceImporter

      public static class DBCPDataSourceServiceImporter.Mixin
      extends AbstractDataSourceServiceImporterMixin<org.apache.commons.dbcp.BasicDataSource>

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.qi4j.library.sql.datasource.DataSourceServiceImporterActivation

      `DataSourceServiceImporterActivation.Activator`

  - ### Field Summary

    - ### Fields inherited from class org.qi4j.library.sql.datasource.AbstractDataSourceServiceImporterMixin

      `LOGGER, module`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DBCPDataSourceServiceImporter.Mixin()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `passivateDataSourcePool(org.apache.commons.dbcp.BasicDataSource dataSourcePool)`
    `protected org.apache.commons.dbcp.BasicDataSource` | `setupDataSourcePool(DataSourceConfigurationValue config)`

    - ### Methods inherited from class org.qi4j.library.sql.datasource.AbstractDataSourceServiceImporterMixin

      `importService, isAvailable, passivateDataSourceService`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DBCPDataSourceServiceImporter.Mixin

          public DBCPDataSourceServiceImporter.Mixin()

  - ### Method Detail

    - #### setupDataSourcePool

          protected org.apache.commons.dbcp.BasicDataSource setupDataSourcePool(DataSourceConfigurationValue config)
                                                                         throws Exception

      Specified by:
        `setupDataSourcePool` in class `AbstractDataSourceServiceImporterMixin<org.apache.commons.dbcp.BasicDataSource>`
      Throws:
        `Exception`

    - #### passivateDataSourcePool

          protected void passivateDataSourcePool(org.apache.commons.dbcp.BasicDataSource dataSourcePool)
                                          throws Exception

      Specified by:
        `passivateDataSourcePool` in class `AbstractDataSourceServiceImporterMixin<org.apache.commons.dbcp.BasicDataSource>`
      Throws:
        `Exception`