Class SpELContext
java.lang.Object
org.springframework.data.mapping.model.SpELContext
Simple factory to create
SpelExpressionParser
and EvaluationContext
instances.- Author:
- Oliver Gierke
-
Constructor Summary
ConstructorDescriptionSpELContext
(SpELContext source, BeanFactory factory) Copy constructor to create aSpELContext
using the given one'sPropertyAccessor
andSpelExpressionParser
as well as the givenBeanFactory
.SpELContext
(PropertyAccessor accessor) Creates a newSpELContext
with the givenPropertyAccessor
.SpELContext
(SpelExpressionParser parser, PropertyAccessor accessor) -
Method Summary
-
Constructor Details
-
SpELContext
- Parameters:
accessor
-
-
SpELContext
Creates a newSpELContext
using the givenSpelExpressionParser
andPropertyAccessor
. Will default theSpelExpressionParser
in case the given value for it is null.- Parameters:
parser
-accessor
-
-
SpELContext
Copy constructor to create aSpELContext
using the given one'sPropertyAccessor
andSpelExpressionParser
as well as the givenBeanFactory
.- Parameters:
source
-factory
-
-
-
Method Details
-
getParser
-
getEvaluationContext
-