Class ExpressionEvaluationConfigurator


  • @OpenApiAll
    public final class ExpressionEvaluationConfigurator
    extends java.lang.Object
    Expression evaluation configurator allows registering expression factories and additional class loaders.
    • Method Detail

      • registerFactory

        public void registerFactory​(java.lang.String language,
                                    ParameterizedExpressionFactory factory)
        Register expression factory according expression language.
        Parameters:
        language - expression language.
        factory - expression factory to register.
      • getFactory

        @CheckForNull
        public ParameterizedExpressionFactory getFactory​(java.lang.String language)
        Get expression factory according language.
        Parameters:
        language - expression language.
        Returns:
        expression factory.
      • registerClassLoader

        public void registerClassLoader​(java.lang.ClassLoader classLoader)
        Register additional class loader, to load classes, implementing custom expressions. It is necessary to register class loader if custom expression implementation comes from plugins.
        Parameters:
        classLoader - classloader to register.