Class ExistsReactiveSpecificationInterceptor

All Implemented Interfaces:
DataInterceptor<Object,org.reactivestreams.Publisher<Boolean>>

@Internal public class ExistsReactiveSpecificationInterceptor extends AbstractReactiveSpecificationInterceptor<Object,org.reactivestreams.Publisher<Boolean>>
Interceptor that supports reactive exists specifications.
Since:
3.8
Author:
Nick Hensel
  • Constructor Details

    • ExistsReactiveSpecificationInterceptor

      protected ExistsReactiveSpecificationInterceptor(RepositoryOperations operations)
      Default constructor.
      Parameters:
      operations - The operations
  • Method Details

    • intercept

      public org.reactivestreams.Publisher<Boolean> intercept(RepositoryMethodKey methodKey, io.micronaut.aop.MethodInvocationContext<Object,org.reactivestreams.Publisher<Boolean>> context)
      Description copied from interface: DataInterceptor
      Intercepts a data method execution.
      Parameters:
      methodKey - The method key
      context - The context
      Returns:
      The result