Class ConnectableInterceptor

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

@Internal @Singleton @InterceptorBean(Connectable.class) public final class ConnectableInterceptor extends Object implements io.micronaut.aop.MethodInterceptor<Object,Object>
Default Connectable interceptor.
Since:
4.0.0
Author:
Denis stepanov
  • 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>
    • getConnectionDefinition

      @NonNull public static @NonNull ConnectionDefinition getConnectionDefinition(io.micronaut.inject.ExecutableMethod<Object,Object> executableMethod)