org.apache.camel.language.juel
Class JuelExpression
java.lang.Object
org.apache.camel.impl.ExpressionSupport
org.apache.camel.language.juel.JuelExpression
- All Implemented Interfaces:
- Expression, Predicate
public class JuelExpression
- extends ExpressionSupport
The EL Language from JSP and JSF
using the JUEL library
- Version:
- $Revision: 769448 $
| 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 <T> T evaluate(Exchange exchange,
Class<T> tClass)
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
Apache CAMEL