Class SpringExpressionManager

java.lang.Object
org.cibseven.bpm.engine.impl.el.JuelExpressionManager
org.cibseven.bpm.engine.spring.SpringExpressionManager
All Implemented Interfaces:
ElProviderCompatible, ExpressionManager

public class SpringExpressionManager extends JuelExpressionManager
ExpressionManager that exposes the full application-context or a limited set of beans in expressions.
Author:
Tom Baeyens
  • Field Details

    • applicationContext

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

    • SpringExpressionManager

      public SpringExpressionManager(org.springframework.context.ApplicationContext applicationContext, Map<Object,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.
    • SpringExpressionManager

      public SpringExpressionManager(org.springframework.context.ApplicationContext applicationContext)
      Parameters:
      applicationContext - the applicationContext to use.
      See Also:
  • Method Details

    • createElResolver

      protected jakarta.el.ELResolver createElResolver()
      Overrides:
      createElResolver in class JuelExpressionManager
    • isAppliedToJuelScripts

      public boolean isAppliedToJuelScripts()
      Description copied from class: JuelExpressionManager
      Whether JUEL scripts resolve names, properties and methods through this expression manager's chain. True for subclasses, so their restrictions apply in scripts; the stock expression managers keep the previous script behavior.
      Overrides:
      isAppliedToJuelScripts in class JuelExpressionManager