Package org.camunda.bpm.impl.juel
Class SimpleContext
java.lang.Object
jakarta.el.ELContext
org.camunda.bpm.impl.juel.SimpleContext
public class SimpleContext
extends jakarta.el.ELContext
Simple context implementation.
- Author:
- Christoph Beck
- 
Constructor SummaryConstructorsConstructorDescriptionCreate a context.SimpleContext(jakarta.el.ELResolver resolver) Create a context, use the specified resolver.
- 
Method SummaryModifier and TypeMethodDescriptionjakarta.el.ELResolverGet our resolver.jakarta.el.FunctionMapperGet our function mapper.jakarta.el.VariableMapperGet our variable mapper.voidsetELResolver(jakarta.el.ELResolver resolver) Set our resolver.voidsetFunction(String prefix, String localName, Method method) Define a function.jakarta.el.ValueExpressionsetVariable(String name, jakarta.el.ValueExpression expression) Define a variable.Methods inherited from class jakarta.el.ELContextaddEvaluationListener, convertToType, enterLambdaScope, exitLambdaScope, getContext, getEvaluationListeners, getImportHandler, getLambdaArgument, getLocale, isLambdaArgument, isPropertyResolved, notifyAfterEvaluation, notifyBeforeEvaluation, notifyPropertyResolved, putContext, setLocale, setPropertyResolved, setPropertyResolved
- 
Constructor Details- 
SimpleContextpublic SimpleContext()Create a context.
- 
SimpleContextpublic SimpleContext(jakarta.el.ELResolver resolver) Create a context, use the specified resolver.
 
- 
- 
Method Details- 
setFunctionDefine a function.
- 
setVariableDefine a variable.
- 
getFunctionMapperpublic jakarta.el.FunctionMapper getFunctionMapper()Get our function mapper.- Specified by:
- getFunctionMapperin class- jakarta.el.ELContext
 
- 
getVariableMapperpublic jakarta.el.VariableMapper getVariableMapper()Get our variable mapper.- Specified by:
- getVariableMapperin class- jakarta.el.ELContext
 
- 
getELResolverpublic jakarta.el.ELResolver getELResolver()Get our resolver. Lazy initialize to aSimpleResolverif necessary.- Specified by:
- getELResolverin class- jakarta.el.ELContext
 
- 
setELResolverpublic void setELResolver(jakarta.el.ELResolver resolver) Set our resolver.- Parameters:
- resolver-
 
 
-