Class DatasonnetAnnotationExpressionFactory
java.lang.Object
org.apache.camel.support.language.DefaultAnnotationExpressionFactory
org.apache.camel.language.datasonnet.DatasonnetAnnotationExpressionFactory
- All Implemented Interfaces:
org.apache.camel.support.language.AnnotationExpressionFactory
public class DatasonnetAnnotationExpressionFactory
extends org.apache.camel.support.language.DefaultAnnotationExpressionFactory
Factory for the Datasonnet expression annotations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.camel.ExpressioncreateExpression(org.apache.camel.CamelContext camelContext, Annotation annotation, org.apache.camel.support.language.LanguageAnnotation languageAnnotation, Class<?> expressionReturnType) protected Class<?> getResultType(Annotation annotation) protected StringgetSource(Annotation annotation) Methods inherited from class org.apache.camel.support.language.DefaultAnnotationExpressionFactory
getAnnotationObjectValue, getExpressionFromAnnotation
-
Constructor Details
-
DatasonnetAnnotationExpressionFactory
public DatasonnetAnnotationExpressionFactory()
-
-
Method Details
-
createExpression
public org.apache.camel.Expression createExpression(org.apache.camel.CamelContext camelContext, Annotation annotation, org.apache.camel.support.language.LanguageAnnotation languageAnnotation, Class<?> expressionReturnType) - Specified by:
createExpressionin interfaceorg.apache.camel.support.language.AnnotationExpressionFactory- Overrides:
createExpressionin classorg.apache.camel.support.language.DefaultAnnotationExpressionFactory
-
getResultType
-
getSource
-