spring-framework / org.springframework.expression.spel / SpelParserConfiguration

SpelParserConfiguration

open class SpelParserConfiguration

Configuration object for the SpEL expression parser.

Author
Juergen Hoeller

Author
Phillip Webb

Author
Andy Clement

Since
3.0

See Also
org.springframework.expression.spel.standard.SpelExpressionParser#SpelExpressionParser(SpelParserConfiguration)

Constructors

<init>

SpelParserConfiguration()

Create a new SpelParserConfiguration instance with default settings.

SpelParserConfiguration(compilerMode: SpelCompilerMode, compilerClassLoader: ClassLoader)
SpelParserConfiguration(autoGrowNullReferences: Boolean, autoGrowCollections: Boolean)
SpelParserConfiguration(autoGrowNullReferences: Boolean, autoGrowCollections: Boolean, maximumAutoGrowSize: Int)
SpelParserConfiguration(compilerMode: SpelCompilerMode, compilerClassLoader: ClassLoader, autoGrowNullReferences: Boolean, autoGrowCollections: Boolean, maximumAutoGrowSize: Int)

Create a new SpelParserConfiguration instance.

Functions

getCompilerClassLoader

open fun getCompilerClassLoader(): ClassLoader

Return the ClassLoader to use as the basis for expression compilation.

getCompilerMode

open fun getCompilerMode(): SpelCompilerMode

Return the configuration mode for parsers using this configuration object.

getMaximumAutoGrowSize

open fun getMaximumAutoGrowSize(): Int

Return the maximum size that a collection can auto grow.

isAutoGrowCollections

open fun isAutoGrowCollections(): Boolean

Return true if collections should be automatically grown.

isAutoGrowNullReferences

open fun isAutoGrowNullReferences(): Boolean

Return true if null references should be automatically grown.