Interface DataSourceResourceResolver

All Superinterfaces:
io.micronaut.core.order.Ordered
All Known Implementing Classes:
CompositeDataSourceResolver, HikariDataSourceResolver, HikariDelegatingDataSourceResolver
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface DataSourceResourceResolver extends io.micronaut.core.order.Ordered
Interface to allow DataSource resolution.
Since:
1.2.0
Author:
Tim Yates
  • Field Summary

    Fields inherited from interface io.micronaut.core.order.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull Optional<org.crac.Resource>
    resolve(@NonNull DataSource dataSource, @NonNull CracConfiguration configuration)
     

    Methods inherited from interface io.micronaut.core.order.Ordered

    getOrder