Class DelegatingDataSourceResolver

  • All Implemented Interfaces:
    io.micronaut.jdbc.DataSourceResolver

    @Singleton
    @Internal
    @Requires(missingClasses="org.springframework.jdbc.datasource.DataSourceTransactionManager") @Requires(classes=io.micronaut.jdbc.DataSourceResolver.class)
    public class DelegatingDataSourceResolver
    extends java.lang.Object
    implements io.micronaut.jdbc.DataSourceResolver
    Unwraps transactional data source proxies.
    Since:
    1.0.1
    Author:
    Vladimir Kulev
    • Field Summary

      • Fields inherited from interface io.micronaut.jdbc.DataSourceResolver

        DEFAULT
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.sql.DataSource resolve​(javax.sql.DataSource dataSource)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DelegatingDataSourceResolver

        public DelegatingDataSourceResolver()
    • Method Detail

      • resolve

        public javax.sql.DataSource resolve​(javax.sql.DataSource dataSource)
        Specified by:
        resolve in interface io.micronaut.jdbc.DataSourceResolver