Class FeelElContextFactory
java.lang.Object
org.operaton.bpm.dmn.feel.impl.juel.el.FeelElContextFactory
- All Implemented Interfaces:
ElContextFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCustomFunction(String name, Method method) Add a custom function which can be used by the context.jakarta.el.ELContextcreateContext(jakarta.el.ExpressionFactory expressionFactory, VariableContext variableContext) jakarta.el.ELResolverjakarta.el.FunctionMapperjakarta.el.VariableMappercreateVariableMapper(jakarta.el.ExpressionFactory expressionFactory, VariableContext variableContext)
-
Field Details
-
LOG
-
customFunctionMapper
-
-
Constructor Details
-
FeelElContextFactory
public FeelElContextFactory()
-
-
Method Details
-
createContext
public jakarta.el.ELContext createContext(jakarta.el.ExpressionFactory expressionFactory, VariableContext variableContext) Description copied from interface:ElContextFactory- Specified by:
createContextin interfaceElContextFactory- Parameters:
expressionFactory- theExpressionFactoryto usevariableContext- theVariableContextto use- Returns:
- the
ELContextinstance
-
createElResolver
public jakarta.el.ELResolver createElResolver() -
createFunctionMapper
public jakarta.el.FunctionMapper createFunctionMapper() -
createVariableMapper
public jakarta.el.VariableMapper createVariableMapper(jakarta.el.ExpressionFactory expressionFactory, VariableContext variableContext) -
addCustomFunction
Description copied from interface:ElContextFactoryAdd a custom function which can be used by the context.- Specified by:
addCustomFunctionin interfaceElContextFactory- Parameters:
name- the name of the functionmethod- the method reference of the function
-