org.springframework.webflow.expression
Class DefaultExpressionParserFactory

java.lang.Object
  extended by org.springframework.webflow.expression.DefaultExpressionParserFactory

public final class DefaultExpressionParserFactory
extends java.lang.Object

Static factory that returns the default ExpressionParser used by Spring Web Flow. Marked final with a private constructor to prevent subclassing.

This factory employs the following algorithm when the returned ExpressionParser instance is used for the first time:

Author:
Keith Donald, Erwin Vervaet

Method Summary
static ExpressionParser getExpressionParser()
          Returns the default expression parser for Spring Web Flow.
static ExpressionParser getExpressionParser(ConversionService conversionService)
          Returns the default expression parser for Spring Web Flow configured with the provided ConversionService for type conversion.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getExpressionParser

public static ExpressionParser getExpressionParser()
Returns the default expression parser for Spring Web Flow. The returned instance is a cached thread-safe object.

Returns:
the expression parser

getExpressionParser

public static ExpressionParser getExpressionParser(ConversionService conversionService)
Returns the default expression parser for Spring Web Flow configured with the provided ConversionService for type conversion. The returned instance is a thread-safe object.

Parameters:
conversionService - the conversionService
Returns:
the expression parser