Class ExistsReactiveSpecificationInterceptor

  • All Implemented Interfaces:
    io.micronaut.data.intercept.DataInterceptor<java.lang.Object,​org.reactivestreams.Publisher<java.lang.Boolean>>

    @Internal
    public class ExistsReactiveSpecificationInterceptor
    extends AbstractReactiveSpecificationInterceptor<java.lang.Object,​org.reactivestreams.Publisher<java.lang.Boolean>>
    Interceptor that supports reactive exists specifications.
    Since:
    3.8
    • Constructor Detail

      • ExistsReactiveSpecificationInterceptor

        protected ExistsReactiveSpecificationInterceptor​(io.micronaut.data.operations.RepositoryOperations operations)
        Default constructor.
        Parameters:
        operations - The operations
    • Method Detail

      • intercept

        public org.reactivestreams.Publisher<java.lang.Boolean> intercept​(io.micronaut.data.intercept.RepositoryMethodKey methodKey,
                                                                          io.micronaut.aop.MethodInvocationContext<java.lang.Object,​org.reactivestreams.Publisher<java.lang.Boolean>> context)