Annotation Type MethodParameterMapping
-
@Documented @Target(ANNOTATION_TYPE) @Retention(RUNTIME) public @interface MethodParameterMapping
Meta-annotation for annotations that apply mapping to a method parameter.WARNING: at the moment, Hibernate Search only considers constructor parameters. Parameters of any other kind of method are ignored.
Whenever an annotation meta-annotated with
MethodParameterMappingis found on a method parameter in the domain model, the corresponding annotation processor will be retrieved and applied to that method parameter. The processor will be passed the annotation instance through itsMethodParameterMappingAnnotationProcessor.process(MethodParameterMappingStep, Annotation, MethodParameterMappingAnnotationProcessorContext)method.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description MethodParameterMappingAnnotationProcessorRefprocessor
-
-
-
Element Detail
-
processor
MethodParameterMappingAnnotationProcessorRef processor
- Returns:
- A reference to the processor to use for the target annotation.
- See Also:
MethodParameterMappingAnnotationProcessorRef
-
-