public class DefaultAnnotationExpressionFactory extends Object implements AnnotationExpressionFactory
AnnotationExpressionFactory
.Constructor and Description |
---|
DefaultAnnotationExpressionFactory() |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.Expression |
createExpression(org.apache.camel.CamelContext camelContext,
Annotation annotation,
LanguageAnnotation languageAnnotation,
Class<?> expressionReturnType) |
protected Object |
getAnnotationObjectValue(Annotation annotation,
String methodName) |
protected String |
getExpressionFromAnnotation(Annotation annotation) |
public org.apache.camel.Expression createExpression(org.apache.camel.CamelContext camelContext, Annotation annotation, LanguageAnnotation languageAnnotation, Class<?> expressionReturnType)
createExpression
in interface AnnotationExpressionFactory
protected String getExpressionFromAnnotation(Annotation annotation)
protected Object getAnnotationObjectValue(Annotation annotation, String methodName)
annotation
- The annotation to get the value ofmethodName
- The annotation nameApache Camel