Package org.apache.camel.language.spel
Class SpelLanguage
java.lang.Object
org.apache.camel.support.LanguageSupport
org.apache.camel.support.TypedLanguageSupport
org.apache.camel.language.spel.SpelLanguage
- All Implemented Interfaces:
AutoCloseable,org.apache.camel.CamelContextAware,org.apache.camel.IsSingleton,org.apache.camel.Service,org.apache.camel.spi.HasCamelContext,org.apache.camel.spi.Language,org.apache.camel.StaticService
@Language("spel")
public class SpelLanguage
extends org.apache.camel.support.TypedLanguageSupport
implements org.apache.camel.StaticService
A Spring Expression
Language plugin-
Field Summary
Fields inherited from class org.apache.camel.support.LanguageSupport
RESOURCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.camel.ExpressioncreateExpression(String expression) org.apache.camel.PredicatecreatePredicate(String expression) voidinit()voidstart()voidstop()Methods inherited from class org.apache.camel.support.TypedLanguageSupport
createExpression, getResultType, setResultTypeMethods inherited from class org.apache.camel.support.LanguageSupport
getCamelContext, hasSimpleFunction, isDynamicResource, isSingleton, isStaticResource, loadResource, property, setCamelContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.camel.spi.Language
createPredicateMethods inherited from interface org.apache.camel.Service
build, close
-
Constructor Details
-
SpelLanguage
public SpelLanguage()
-
-
Method Details
-
createPredicate
- Specified by:
createPredicatein interfaceorg.apache.camel.spi.Language
-
createExpression
- Specified by:
createExpressionin interfaceorg.apache.camel.spi.Language
-
init
public void init()- Specified by:
initin interfaceorg.apache.camel.Service
-
start
public void start()- Specified by:
startin interfaceorg.apache.camel.Service
-
stop
public void stop()- Specified by:
stopin interfaceorg.apache.camel.Service
-