org.apache.camel.language.juel
Class JuelExpression
java.lang.Object
org.apache.camel.impl.ExpressionSupport<Exchange>
org.apache.camel.language.juel.JuelExpression
- All Implemented Interfaces:
- Expression<Exchange>, Predicate<Exchange>
public class JuelExpression
- extends ExpressionSupport<Exchange>
The EL Language from JSP and JSF
using the JUEL library
- Version:
- $Revision: 640731 $
| 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(Exchange exchange)
getExpressionFactory
public ExpressionFactory getExpressionFactory()
setExpressionFactory
public void setExpressionFactory(ExpressionFactory expressionFactory)
getExpressionFactoryProperties
public Properties getExpressionFactoryProperties()
setExpressionFactoryProperties
public void setExpressionFactoryProperties(Properties expressionFactoryProperties)
populateContext
protected ELContext populateContext(ELContext context,
Exchange exchange)
populateDefaultExpressionProperties
protected void populateDefaultExpressionProperties(Properties properties)
- A Strategy Method to populate the default properties used to create the expression factory
setVariable
protected void setVariable(ELContext context,
String name,
Object value,
Class<?> type)
createContext
protected ELContext createContext()
- Factory method to create the EL context
assertionFailureMessage
protected String assertionFailureMessage(Exchange exchange)
- Specified by:
assertionFailureMessage in class ExpressionSupport<Exchange>
Apache CAMEL