Class JuelConnector


  • public class JuelConnector
    extends java.lang.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 Summary

      Fields 
      Modifier and Type Field Description
      protected static java.lang.String module  
    • Constructor Summary

      Constructors 
      Constructor Description
      JuelConnector()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static javax.el.ExpressionFactory newExpressionFactory()
      Returns an ExpressionFactory instance.
      • Methods inherited from class java.lang.Object

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

      • module

        protected static final java.lang.String module
    • Constructor Detail

      • JuelConnector

        public JuelConnector()
    • Method Detail

      • newExpressionFactory

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