Class SpringFormExpressionManager

java.lang.Object
org.flowable.common.engine.impl.el.DefaultExpressionManager
com.flowable.form.spring.SpringFormExpressionManager
All Implemented Interfaces:
org.flowable.common.engine.impl.el.ExpressionManager

public class SpringFormExpressionManager
extends org.flowable.common.engine.impl.el.DefaultExpressionManager
DefaultExpressionManager that exposes the full application-context or a limited set of beans in expressions.
Author:
Tijs Rademakers
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected org.springframework.context.ApplicationContext applicationContext  

    Fields inherited from class org.flowable.common.engine.impl.el.DefaultExpressionManager

    astFunctionCreators, beans, expressionCache, expressionFactory, expressionTextLengthCacheLimit, functionDelegates, parsingElContext
  • Constructor Summary

    Constructors 
    Constructor Description
    SpringFormExpressionManager​(org.springframework.context.ApplicationContext applicationContext, java.util.Map<java.lang.Object,​java.lang.Object> beans)  
  • Method Summary

    Modifier and Type Method Description
    protected org.flowable.common.engine.impl.javax.el.ELResolver createElResolver​(org.flowable.common.engine.api.variable.VariableContainer variableContainer)  

    Methods inherited from class org.flowable.common.engine.impl.el.DefaultExpressionManager

    configureResolvers, createBeanElResolver, createExpression, createJuelExpression, createVariableElResolver, getAstFunctionCreators, getBeans, getElContext, getExpressionCache, getExpressionTextLengthCacheLimit, getFunctionDelegates, isCacheEnabled, setAstFunctionCreators, setBeans, setExpressionCache, setExpressionFactory, setExpressionTextLengthCacheLimit, setFunctionDelegates

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • applicationContext

      protected org.springframework.context.ApplicationContext applicationContext
  • Constructor Details

    • SpringFormExpressionManager

      public SpringFormExpressionManager​(org.springframework.context.ApplicationContext applicationContext, java.util.Map<java.lang.Object,​java.lang.Object> beans)
      Parameters:
      applicationContext - the applicationContext to use. Ignored when 'beans' parameter is not null.
      beans - a map of custom beans to expose. If null, all beans in the application-context will be exposed.
  • Method Details

    • createElResolver

      protected org.flowable.common.engine.impl.javax.el.ELResolver createElResolver​(org.flowable.common.engine.api.variable.VariableContainer variableContainer)
      Overrides:
      createElResolver in class org.flowable.common.engine.impl.el.DefaultExpressionManager