Class DefaultUpdateAllEntitiesReactiveInterceptor

All Implemented Interfaces:
DataInterceptor<Object,Object>, UpdateAllEntitiesReactiveInterceptor<Object,Object>

public class DefaultUpdateAllEntitiesReactiveInterceptor extends AbstractReactiveInterceptor<Object,Object> implements UpdateAllEntitiesReactiveInterceptor<Object,Object>
Default implementation of UpdateAllEntitiesReactiveInterceptor.
Since:
2.4.0
Author:
Denis Stepanov
  • Constructor Details

    • DefaultUpdateAllEntitiesReactiveInterceptor

      public DefaultUpdateAllEntitiesReactiveInterceptor(@NonNull @NonNull RepositoryOperations operations)
      Default constructor.
      Parameters:
      operations - The operations
  • Method Details

    • interceptPublisher

      public org.reactivestreams.Publisher<?> interceptPublisher(RepositoryMethodKey methodKey, io.micronaut.aop.MethodInvocationContext<Object,Object> context)
      Intercept publisher.
      Parameters:
      methodKey - The method key
      context - The context
      Returns:
      the result publisher
    • intercept

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