Class FindOneSpecificationInterceptor

All Implemented Interfaces:
DataInterceptor<Object,Object>

@Internal public class FindOneSpecificationInterceptor extends AbstractSpecificationInterceptor<Object,Object>
Implementation of findOne(Specification) for JPA specifications.
Since:
3.2
Author:
Denis Stepanov
  • Constructor Details

    • FindOneSpecificationInterceptor

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

    • intercept

      public 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