Class JuelConnector

java.lang.Object
org.apache.ofbiz.base.util.string.JuelConnector

public class JuelConnector extends Object
A facade class used to connect the OFBiz framework to the JUEL library.

The Unified Expression Language specification doesn't allow assignment of values to non-existent variables (auto-vivify) - but the OFBiz scripting languages do. This class modifies the JUEL library behavior to enable auto-vivify.

  • Field Details

    • MODULE

      protected static final String MODULE
  • Constructor Details

    • JuelConnector

      public JuelConnector()
  • Method Details

    • newExpressionFactory

      public static javax.el.ExpressionFactory newExpressionFactory()
      Returns an ExpressionFactory instance.
      Returns:
      A customized ExpressionFactory instance