Package io.micronaut.jdbc
Interface DataSourceResolver
-
- All Known Implementing Classes:
SpringDataSourceResolver
public interface DataSourceResolverResolves the underlying target data source.- Since:
- 1.0
- Author:
- graemerocher
-
-
Field Summary
Fields Modifier and Type Field Description static DataSourceResolverDEFAULTThe default implementation.
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default DataSourceresolve(DataSource dataSource)Resolves the underlying target data source in the case it has been wrapped by proxying / instrumentation logic.
-
-
-
Field Detail
-
DEFAULT
static final DataSourceResolver DEFAULT
The default implementation.
-
-
Method Detail
-
resolve
default DataSource resolve(DataSource dataSource)
Resolves the underlying target data source in the case it has been wrapped by proxying / instrumentation logic.- Parameters:
dataSource- The data source- Returns:
- The unwrapped datasource
-
-