org.qi4j.library.sql.c3p0
Class C3P0DataSourceServiceImporter.Mixin

java.lang.Object
  extended by org.qi4j.library.sql.datasource.AbstractDataSourceServiceImporterMixin<com.mchange.v2.c3p0.ComboPooledDataSource>
      extended by org.qi4j.library.sql.c3p0.C3P0DataSourceServiceImporter.Mixin
All Implemented Interfaces:
ServiceImporter<javax.sql.DataSource>, DataSourceServiceImporterActivation
Enclosing interface:
C3P0DataSourceServiceImporter

public static class C3P0DataSourceServiceImporter.Mixin
extends AbstractDataSourceServiceImporterMixin<com.mchange.v2.c3p0.ComboPooledDataSource>


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
C3P0DataSourceServiceImporter.Mixin()
           
 
Method Summary
protected  void passivateDataSourcePool(com.mchange.v2.c3p0.ComboPooledDataSource dataSourcePool)
           
protected  com.mchange.v2.c3p0.ComboPooledDataSource 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

C3P0DataSourceServiceImporter.Mixin

public C3P0DataSourceServiceImporter.Mixin()
Method Detail

setupDataSourcePool

protected com.mchange.v2.c3p0.ComboPooledDataSource setupDataSourcePool(DataSourceConfigurationValue config)
                                                                 throws java.lang.Exception
Specified by:
setupDataSourcePool in class AbstractDataSourceServiceImporterMixin<com.mchange.v2.c3p0.ComboPooledDataSource>
Throws:
java.lang.Exception

passivateDataSourcePool

protected void passivateDataSourcePool(com.mchange.v2.c3p0.ComboPooledDataSource dataSourcePool)
                                throws java.sql.SQLException
Specified by:
passivateDataSourcePool in class AbstractDataSourceServiceImporterMixin<com.mchange.v2.c3p0.ComboPooledDataSource>
Throws:
java.sql.SQLException