Package io.micronaut.aop.mapper
Class InterceptorBeanMapper
java.lang.Object
io.micronaut.aop.mapper.InterceptorBeanMapper
- All Implemented Interfaces:
AnnotationMapper<InterceptorBean>,TypedAnnotationMapper<InterceptorBean>
@Internal
public class InterceptorBeanMapper
extends Object
implements TypedAnnotationMapper<InterceptorBean>
A
TypedAnnotationMapper for the InterceptorBean annotation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe annotation type to be mapped.List<AnnotationValue<?>>map(AnnotationValue<InterceptorBean> annotation, VisitorContext visitorContext) The map method will be called for each instances of the annotation returned via this method.
-
Constructor Details
-
InterceptorBeanMapper
public InterceptorBeanMapper()
-
-
Method Details
-
annotationType
Description copied from interface:TypedAnnotationMapperThe annotation type to be mapped.- Specified by:
annotationTypein interfaceTypedAnnotationMapper<InterceptorBean>- Returns:
- The annotation type
-
map
public List<AnnotationValue<?>> map(AnnotationValue<InterceptorBean> annotation, VisitorContext visitorContext) Description copied from interface:AnnotationMapperThe map method will be called for each instances of the annotation returned via this method.- Specified by:
mapin interfaceAnnotationMapper<InterceptorBean>- Parameters:
annotation- The annotation valuesvisitorContext- The context that is being visited- Returns:
- A list of zero or many annotations and values to map to
-