Class ContextualAwareDataSource
java.lang.Object
io.micronaut.data.connection.jdbc.advice.ContextualAwareDataSource
- All Implemented Interfaces:
 io.micronaut.context.event.BeanCreatedEventListener<DataSource>,EventListener
@Singleton
public final class ContextualAwareDataSource
extends Object
implements io.micronaut.context.event.BeanCreatedEventListener<DataSource>
Contextual aware data source implementation.
- Since:
 - 1.0.1
 - Author:
 - graemerocher
 
- 
Constructor Summary
ConstructorsConstructorDescriptionContextualAwareDataSource(io.micronaut.context.BeanLocator beanLocator) Create a new DelegatingDataSource. - 
Method Summary
Modifier and TypeMethodDescriptiononCreated(io.micronaut.context.event.BeanCreatedEvent<DataSource> event)  
- 
Constructor Details
- 
ContextualAwareDataSource
public ContextualAwareDataSource(io.micronaut.context.BeanLocator beanLocator) Create a new DelegatingDataSource.- Parameters:
 beanLocator- The bean locator
 
 - 
 - 
Method Details
- 
onCreated
- Specified by:
 onCreatedin interfaceio.micronaut.context.event.BeanCreatedEventListener<DataSource>
 
 -