Package org.apache.camel.language.groovy
Class GroovyLanguage
java.lang.Object
org.apache.camel.support.LanguageSupport
org.apache.camel.support.TypedLanguageSupport
org.apache.camel.language.groovy.GroovyLanguage
- All Implemented Interfaces:
org.apache.camel.CamelContextAware
,org.apache.camel.IsSingleton
,org.apache.camel.spi.HasCamelContext
,org.apache.camel.spi.Language
,org.apache.camel.spi.ScriptingLanguage
@Language("groovy")
public class GroovyLanguage
extends org.apache.camel.support.TypedLanguageSupport
implements org.apache.camel.spi.ScriptingLanguage
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.apache.camel.support.LanguageSupport
RESOURCE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateExpression
(String expression) createPredicate
(String expression) <T> T
static GroovyExpression
Methods inherited from class org.apache.camel.support.TypedLanguageSupport
createExpression, getResultType, setResultType
Methods inherited from class org.apache.camel.support.LanguageSupport
getCamelContext, hasSimpleFunction, isDynamicResource, isSingleton, isStaticResource, loadResource, property, setCamelContext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.camel.spi.Language
createPredicate
-
Constructor Details
-
GroovyLanguage
public GroovyLanguage()
-
-
Method Details
-
groovy
-
createPredicate
- Specified by:
createPredicate
in interfaceorg.apache.camel.spi.Language
-
createExpression
- Specified by:
createExpression
in interfaceorg.apache.camel.spi.Language
-
evaluate
- Specified by:
evaluate
in interfaceorg.apache.camel.spi.ScriptingLanguage
-