Class DefaultAnnotationExpressionFactory

java.lang.Object
org.apache.camel.support.language.DefaultAnnotationExpressionFactory
All Implemented Interfaces:
AnnotationExpressionFactory

public class DefaultAnnotationExpressionFactory extends Object implements AnnotationExpressionFactory
Default implementation of the AnnotationExpressionFactory.
  • Constructor Details

    • DefaultAnnotationExpressionFactory

      public DefaultAnnotationExpressionFactory()
  • Method Details

    • createExpression

      public org.apache.camel.Expression createExpression(org.apache.camel.CamelContext camelContext, Annotation annotation, LanguageAnnotation languageAnnotation, Class<?> expressionReturnType)
      Specified by:
      createExpression in interface AnnotationExpressionFactory
    • getExpressionFromAnnotation

      protected String getExpressionFromAnnotation(Annotation annotation)
    • getAnnotationObjectValue

      protected Object getAnnotationObjectValue(Annotation annotation, String methodName)
      Parameters:
      annotation - The annotation to get the value of
      methodName - The annotation name
      Returns:
      The value of the annotation