public interface AnnotationsParserFactory
Modifier and Type | Method and Description |
---|---|
EndpointAnnotationParser |
getEndpointParser(Annotation annotation,
Class<?> aClass,
Member member)
Retrieves a parser for the given annotation, the parameters passed in can be used to validate the use of
the annotation, i.e.
|
ExpressionAnnotationParser |
getExpressionParser(Annotation annotation)
Retrieves a parser for the given annotation, where the annotation is an Expression annotation; one annotated with
the
Evaluator annotation. |
MessageProcessorAnnotationParser |
getRouterParser(Annotation annotation,
Class<?> aClass,
Member member)
Retrieves a parser for the given annotation, where the annotation is a Router annotation; one annotated with
the
Router annotation. |
EndpointAnnotationParser getEndpointParser(Annotation annotation, Class<?> aClass, Member member)
annotation
- the annotation being processedaClass
- the class on which the annotation is definedmember
- the class member on which the annotation was defined, such as Field, Method, Constructor, or
null if a Type-level annotation.ExpressionAnnotationParser getExpressionParser(Annotation annotation)
Evaluator
annotation.
annotation
- the annotation being processedMessageProcessorAnnotationParser getRouterParser(Annotation annotation, Class<?> aClass, Member member)
Router
annotation. the parameters passed in can be used to validate the use of
the annotation, i.e. you may want to restrict annotations to only be configured on concrete classes.
annotation
- the annotation being processedaClass
- the class on which the annotation is definedmember
- the class member on which the annotation was defined, such as Field, Method, Constructor, or
null if a Type-level annotation.Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.