Interface ElContextFactory
- All Known Implementing Classes:
FeelElContextFactory
public interface ElContextFactory
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddCustomFunction(String name, Method method) Add a custom function which can be used by the context.ELContextcreateContext(ExpressionFactory expressionFactory, VariableContext variableContext)
-
Method Details
-
createContext
- Parameters:
expressionFactory- theExpressionFactoryto usevariableContext- theVariableContextto use- Returns:
- the
ELContextinstance
-
addCustomFunction
Add a custom function which can be used by the context.- Parameters:
name- the name of the functionmethod- the method reference of the function
-