Annotation Interface FindInterceptorDef


@Retention(RUNTIME) @Target(ANNOTATION_TYPE) @Documented @Inherited public @interface FindInterceptorDef
The custom find method interceptor definition.
Since:
4.0.0
Author:
Denis Stepanov
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends DataInterceptor<?,?>>
    The interceptor type.
    The custom return type of the find-all method.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Is container type.
  • Element Details

    • returnType

      Class<?> returnType
      The custom return type of the find-all method.
      Returns:
      The return type
    • interceptor

      Class<? extends DataInterceptor<?,?>> interceptor
      The interceptor type.
      Returns:
      The interceptor type.
    • isContainer

      boolean isContainer
      Is container type.
      Returns:
      True if the return type is a container.
      Default:
      true