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 SummaryRequired ElementsModifier and TypeRequired ElementDescriptionClass<? extends DataInterceptor<?,?>> The interceptor type.Class<?>The custom return type of the find-all method.
- 
Optional Element SummaryOptional Elements
- 
Element Details- 
returnTypeClass<?> returnTypeThe custom return type of the find-all method.- Returns:
- The return type
 
- 
interceptorClass<? extends DataInterceptor<?,?>> interceptorThe interceptor type.- Returns:
- The interceptor type.
 
 
- 
- 
- 
isContainerboolean isContainerIs container type.- Returns:
- True if the return type is a container.
 - Default:
- true
 
 
-