org.apache.camel.language.juel
Class JuelExpression
java.lang.Object
org.apache.camel.support.ExpressionSupport
org.apache.camel.language.juel.JuelExpression
- All Implemented Interfaces:
- org.apache.camel.Expression, org.apache.camel.Predicate
public class JuelExpression
- extends org.apache.camel.support.ExpressionSupport
The EL Language from JSP and JSF
using the JUEL library
- Version:
Methods inherited from class org.apache.camel.support.ExpressionSupport |
assertMatches, evaluate, matches |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_EXPRESSION_FACTORY_IMPL_CLASS
public static final String DEFAULT_EXPRESSION_FACTORY_IMPL_CLASS
- See Also:
- Constant Field Values
JuelExpression
public JuelExpression(String expression,
Class<?> type)
el
public static JuelExpression el(String expression)
evaluate
public <T> T evaluate(org.apache.camel.Exchange exchange,
Class<T> tClass)
getExpressionFactory
public javax.el.ExpressionFactory getExpressionFactory(org.apache.camel.CamelContext context)
getExpressionFactory
public javax.el.ExpressionFactory getExpressionFactory()
setExpressionFactory
public void setExpressionFactory(javax.el.ExpressionFactory expressionFactory)
populateContext
protected javax.el.ELContext populateContext(javax.el.ELContext context,
org.apache.camel.Exchange exchange)
setVariable
protected void setVariable(javax.el.ELContext context,
String name,
Object value,
Class<?> type)
createContext
protected javax.el.ELContext createContext()
- Factory method to create the EL context
assertionFailureMessage
protected String assertionFailureMessage(org.apache.camel.Exchange exchange)
- Specified by:
assertionFailureMessage
in class org.apache.camel.support.ExpressionSupport
Apache CAMEL