Package io.micronaut.transaction.jdbc
Class TransactionAwareDataSource
- java.lang.Object
-
- io.micronaut.transaction.jdbc.TransactionAwareDataSource
-
- All Implemented Interfaces:
io.micronaut.context.event.BeanCreatedEventListener<javax.sql.DataSource>
,java.util.EventListener
@Singleton @Requires(missingBeans=io.micronaut.jdbc.spring.DataSourceTransactionManagerFactory.class) public class TransactionAwareDataSource extends java.lang.Object implements io.micronaut.context.event.BeanCreatedEventListener<javax.sql.DataSource>
Transaction aware data source implementation.- Since:
- 1.0.1
- Author:
- graemerocher
-
-
Constructor Summary
Constructors Constructor Description TransactionAwareDataSource(io.micronaut.context.BeanLocator beanLocator)
Create a new DelegatingDataSource.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.sql.DataSource
onCreated(io.micronaut.context.event.BeanCreatedEvent<javax.sql.DataSource> event)
-