- All Implemented Interfaces:
- io.micronaut.aop.Interceptor<java.sql.Connection,java.lang.Object>, io.micronaut.aop.MethodInterceptor<java.sql.Connection,java.lang.Object>, io.micronaut.core.order.Ordered
@Singleton
public final class TransactionalConnectionInterceptor
extends java.lang.Object
implements io.micronaut.aop.MethodInterceptor<java.sql.Connection,java.lang.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