org.apache.camel.language.bean
Class BeanLanguage
java.lang.Object
org.apache.camel.language.bean.BeanLanguage
- All Implemented Interfaces:
- Language
public class BeanLanguage
- extends Object
- implements Language
A bean language
which uses a simple text notation to invoke methods on beans to evaluate predicates or expressions
The notation is essentially beanName.methodName
which is then invoked using the
beanName to lookup in the bean integration to bind the
Exchange
to the method arguments.
- Version:
- $Revision: 47012 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanLanguage
public BeanLanguage()
bean
public static Expression bean(String expression)
createPredicate
public Predicate<Exchange> createPredicate(String expression)
- Specified by:
createPredicate
in interface Language
createExpression
public Expression<Exchange> createExpression(String expression)
- Specified by:
createExpression
in interface Language
Copyright © 2008 IONA Open Source Community. All Rights Reserved.