@Singleton
@Requires(missingClasses="org.springframework.jdbc.datasource.DataSourceTransactionManager")
public class TransactionAwareDataSource
extends java.lang.Object
implements io.micronaut.context.event.BeanCreatedEventListener<javax.sql.DataSource>
Constructor and Description |
---|
TransactionAwareDataSource(io.micronaut.context.BeanLocator beanLocator)
Create a new DelegatingDataSource.
|
Modifier and Type | Method and Description |
---|---|
javax.sql.DataSource |
onCreated(io.micronaut.context.event.BeanCreatedEvent<javax.sql.DataSource> event) |