Package org.springframework.webflow.expression.el

Examples of org.springframework.webflow.expression.el.WebFlowELExpressionParser$WebFlowELContext


   */
  private static ExpressionParser createDefaultExpressionParser(ConversionService conversionService)
      throws IllegalStateException {
    try {
      ExpressionFactory elFactory = DefaultExpressionFactoryUtils.createExpressionFactory();
      WebFlowELExpressionParser expressionParser = new WebFlowELExpressionParser(elFactory);
      if (conversionService != null) {
        expressionParser.setConversionService(conversionService);
      }
      return expressionParser;
    } catch (Exception e) {
      try {
        ClassUtils.forName("ognl.Ognl", DefaultExpressionParserFactory.class.getClassLoader());
        WebFlowOgnlExpressionParser expressionParser = new WebFlowOgnlExpressionParser();
        if (conversionService != null) {
          expressionParser.setConversionService(conversionService);
        }
        return expressionParser;
      } catch (ClassNotFoundException ex) {
        IllegalStateException ise = new IllegalStateException(
            "Unable to create the default expression parser for Spring Web Flow: Neither a Unified EL implementation or OGNL could be found.");
View Full Code Here

TOP

Related Classes of org.springframework.webflow.expression.el.WebFlowELExpressionParser$WebFlowELContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.