Class TransactionalInterceptor

java.lang.Object
io.micronaut.transaction.interceptor.TransactionalInterceptor
All Implemented Interfaces:
io.micronaut.aop.Interceptor<Object,Object>, io.micronaut.aop.MethodInterceptor<Object,Object>, io.micronaut.core.order.Ordered

@Singleton @Internal public final class TransactionalInterceptor extends Object implements io.micronaut.aop.MethodInterceptor<Object,Object>
Default implementation of Transactional. Forked from the reflection based code in Spring.
Since:
1.0
Author:
graemerocher, Denis stepanov
  • Constructor Details

  • Method Details

    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface io.micronaut.core.order.Ordered
    • intercept

      public Object intercept(io.micronaut.aop.MethodInvocationContext<Object,Object> context)
      Specified by:
      intercept in interface io.micronaut.aop.MethodInterceptor<Object,Object>