Class DefaultFindAllInterceptor<T,​R>

    • Constructor Detail

      • DefaultFindAllInterceptor

        protected DefaultFindAllInterceptor​(RepositoryOperations datastore)
        Default constructor.
        Parameters:
        datastore - The operations
    • Method Detail

      • intercept

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