Package io.micronaut.context.processor
Interface AnnotationProcessor<A extends Annotation,T>
- Type Parameters:
A- An annotation typeT- A type
- All Known Subinterfaces:
BeanDefinitionProcessor<A>,ExecutableMethodProcessor<A>
- All Known Implementing Classes:
AnnotatedFilterRouteBuilder,AnnotatedFunctionRouteBuilder,AnnotatedMethodRouteBuilder,BaseFilterProcessor,DefaultHttpClientFilterResolver,DefaultLocalFunctionRegistry,DeleteEndpointRouteBuilder,EndpointSensitivityProcessor,ReadEndpointRouteBuilder,ScheduledMethodProcessor,ServerFilterRouteBuilder,ServerWebSocketProcessor,WriteEndpointRouteBuilder
public interface AnnotationProcessor<A extends Annotation,T>
An annotation processor is an object that processes the presence if a given annotation.
The process(BeanDefinition, Object) method returns void since a processor is not able to mutate the
object itself or return an alternative instance, instead the design of a processor is to react to the rep
- Since:
- 1.0
- Author:
- Graeme Rocher
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(BeanDefinition<?> beanDefinition, T object) The process method will be called for everyExecutableMethodthat is annotated with the type parameter A.
-
Method Details
-
process
The process method will be called for everyExecutableMethodthat is annotated with the type parameter A.- Parameters:
beanDefinition- The bean definitionobject- The object to be processed
-