Class LoadInterceptor<T>

    • Constructor Detail

      • LoadInterceptor

        protected LoadInterceptor​(@NonNull
                                  RepositoryOperations operations)
        Default constructor.
        Parameters:
        operations - The operations
    • Method Detail

      • intercept

        public T intercept​(RepositoryMethodKey methodKey,
                           io.micronaut.aop.MethodInvocationContext<T,​T> context)
        Description copied from interface: DataInterceptor
        Intercepts a data method execution.
        Specified by:
        intercept in interface DataInterceptor<T,​T>
        Parameters:
        methodKey - The method key
        context - The context
        Returns:
        The result