Class DefaultFindAllReactiveInterceptor

All Implemented Interfaces:
io.micronaut.data.intercept.DataInterceptor<Object,Object>, io.micronaut.data.intercept.reactive.FindAllReactiveInterceptor<Object,Object>

public class DefaultFindAllReactiveInterceptor extends AbstractPublisherInterceptor implements io.micronaut.data.intercept.reactive.FindAllReactiveInterceptor<Object,Object>
Default implementation of FindAllReactiveInterceptor.
Since:
1.0.0
  • Constructor Details

    • DefaultFindAllReactiveInterceptor

      protected DefaultFindAllReactiveInterceptor(@NonNull @NonNull io.micronaut.data.operations.RepositoryOperations operations)
      Default constructor.
      Parameters:
      operations - The operations
  • Method Details

    • interceptPublisher

      public org.reactivestreams.Publisher<?> interceptPublisher(io.micronaut.data.intercept.RepositoryMethodKey methodKey, io.micronaut.aop.MethodInvocationContext<Object,Object> context)
      Description copied from class: AbstractPublisherInterceptor
      Intercept publisher.
      Specified by:
      interceptPublisher in class AbstractPublisherInterceptor
      Parameters:
      methodKey - The method key
      context - The context
      Returns:
      the result publisher