org.apache.camel.language.juel
Class JuelExpression
java.lang.Object
org.apache.camel.impl.ExpressionSupport<org.apache.camel.Exchange>
org.apache.camel.language.juel.JuelExpression
- All Implemented Interfaces:
- org.apache.camel.Expression<org.apache.camel.Exchange>, org.apache.camel.Predicate<org.apache.camel.Exchange>
public class JuelExpression
- extends org.apache.camel.impl.ExpressionSupport<org.apache.camel.Exchange>
- Version:
- $Revision: $
Methods inherited from class org.apache.camel.impl.ExpressionSupport |
assertMatches, matches |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JuelExpression
public JuelExpression(String expression,
Class<?> type)
el
public static JuelExpression el(String expression)
evaluate
public Object evaluate(org.apache.camel.Exchange exchange)
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.impl.ExpressionSupport<org.apache.camel.Exchange>
Copyright © 2007 Apache Software Foundation. All Rights Reserved.