Interface ElContextFactory
-
- All Known Implementing Classes:
FeelElContextFactory
public interface ElContextFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addCustomFunction(java.lang.String name, java.lang.reflect.Method method)
Add a custom function which can be used by the context.javax.el.ELContext
createContext(javax.el.ExpressionFactory expressionFactory, VariableContext variableContext)
-
-
-
Method Detail
-
createContext
javax.el.ELContext createContext(javax.el.ExpressionFactory expressionFactory, VariableContext variableContext)
- Parameters:
expressionFactory
- theExpressionFactory
to usevariableContext
- theVariableContext
to use- Returns:
- the
ELContext
instance
-
addCustomFunction
void addCustomFunction(java.lang.String name, java.lang.reflect.Method method)
Add a custom function which can be used by the context.- Parameters:
name
- the name of the functionmethod
- the method reference of the function
-
-