Class ContextualConnectionInterceptor
java.lang.Object
io.micronaut.data.connection.jdbc.advice.ContextualConnectionInterceptor
- All Implemented Interfaces:
- io.micronaut.aop.Interceptor<Connection,,- Object> - io.micronaut.aop.MethodInterceptor<Connection,,- Object> - io.micronaut.core.order.Ordered
@Prototype
public final class ContextualConnectionInterceptor
extends Object
implements io.micronaut.aop.MethodInterceptor<Connection,Object> 
An interceptor that allows injecting a 
Connection that acts a proxy to lookup the connection for the current transaction.- Since:
- 1.0
- Author:
- graemerocher
- 
Field SummaryFields inherited from interface io.micronaut.aop.InterceptorARGUMENT, CACHEABLE_LAZY_TARGET, HOTSWAP, LAZY, PROXY_TARGETFields inherited from interface io.micronaut.core.order.OrderedHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
- 
Method SummaryModifier and TypeMethodDescriptionintercept(io.micronaut.aop.MethodInvocationContext<Connection, Object> context) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.aop.MethodInterceptorinterceptMethods inherited from interface io.micronaut.core.order.OrderedgetOrder
- 
Method Details- 
intercept- Specified by:
- interceptin interface- io.micronaut.aop.MethodInterceptor<Connection,- Object> 
 
 
-