Class DataIntroductionAdvice

java.lang.Object
io.micronaut.data.runtime.intercept.DataIntroductionAdvice
All Implemented Interfaces:
io.micronaut.aop.Interceptor<Object,Object>, io.micronaut.aop.MethodInterceptor<Object,Object>, io.micronaut.core.order.Ordered

@InterceptorBean(Repository.class) @Prototype @Internal public final class DataIntroductionAdvice extends Object implements io.micronaut.aop.MethodInterceptor<Object,Object>
The root Data introduction advice, which simply delegates to an appropriate interceptor declared in the io.micronaut.data.intercept package.
Since:
1.0
Author:
graemerocher
  • Field Summary

    Fields inherited from interface io.micronaut.aop.Interceptor

    ARGUMENT, CACHEABLE_LAZY_TARGET, HOTSWAP, LAZY, PROXY_TARGET

    Fields inherited from interface io.micronaut.core.order.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
    DataIntroductionAdvice(@NonNull io.micronaut.data.runtime.intercept.DataInterceptorResolver dataInterceptorResolver, @Nullable io.micronaut.inject.InjectionPoint<?> injectionPoint, DataConversionService conversionService)
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    intercept(io.micronaut.aop.MethodInvocationContext<Object,Object> context)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.micronaut.aop.MethodInterceptor

    intercept

    Methods inherited from interface io.micronaut.core.order.Ordered

    getOrder
  • Constructor Details

    • DataIntroductionAdvice

      @Inject public DataIntroductionAdvice(@NonNull @NonNull io.micronaut.data.runtime.intercept.DataInterceptorResolver dataInterceptorResolver, @Nullable @Nullable io.micronaut.inject.InjectionPoint<?> injectionPoint, DataConversionService conversionService)
      Default constructor.
      Parameters:
      dataInterceptorResolver - The data interceptor resolver
      injectionPoint - The injection point
      conversionService - The conversion service
  • Method Details

    • intercept

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