Package org.apache.camel.language.spel
Class SpelLanguage
- java.lang.Object
-
- org.apache.camel.support.LanguageSupport
-
- 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.Language,org.apache.camel.StaticService
@Language("spel") public class SpelLanguage extends org.apache.camel.support.LanguageSupport implements org.apache.camel.StaticServiceA Spring ExpressionLanguageplugin
-
-
Constructor Summary
Constructors Constructor Description SpelLanguage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.camel.ExpressioncreateExpression(String expression)org.apache.camel.PredicatecreatePredicate(String expression)voidinit()voidstart()voidstop()-
Methods inherited from class org.apache.camel.support.LanguageSupport
getCamelContext, hasSimpleFunction, isDynamicResource, isSingleton, isStaticResource, loadResource, property, setCamelContext
-
-
-
-
Method Detail
-
createPredicate
public org.apache.camel.Predicate createPredicate(String expression)
- Specified by:
createPredicatein interfaceorg.apache.camel.spi.Language
-
createExpression
public org.apache.camel.Expression createExpression(String expression)
- 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
-
-