Package io.micronaut.data.annotation
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 ElementsModifier and TypeRequired ElementDescriptionClass<? extends DataInterceptor<?,?>> The interceptor type.Class<?>The custom return type of the find-all method. - 
Optional Element Summary
Optional Elements 
- 
Element Details
- 
returnType
Class<?> returnTypeThe custom return type of the find-all method.- Returns:
 - The return type
 
 - 
interceptor
Class<? extends DataInterceptor<?,?>> interceptorThe interceptor type.- Returns:
 - The interceptor type.
 
 
 - 
 - 
- 
isContainer
boolean isContainerIs container type.- Returns:
 - True if the return type is a container.
 
- Default:
 - true
 
 
 -