Class SpELContext
java.lang.Object
org.springframework.data.mapping.model.SpELContext
Simple factory to create
SpelExpressionParser and EvaluationContext instances.- Author:
- Oliver Gierke
-
Constructor Summary
ConstructorsConstructorDescriptionSpELContext(SpELContext source, BeanFactory factory) Copy constructor to create aSpELContextusing the given one'sPropertyAccessorandSpelExpressionParseras well as the givenBeanFactory.SpELContext(PropertyAccessor accessor) Creates a newSpELContextwith the givenPropertyAccessor.SpELContext(SpelExpressionParser parser, PropertyAccessor accessor) -
Method Summary
-
Constructor Details
-
SpELContext
- Parameters:
accessor-
-
SpELContext
Creates a newSpELContextusing the givenSpelExpressionParserandPropertyAccessor. Will default theSpelExpressionParserin case the given value for it is null.- Parameters:
parser-accessor-
-
SpELContext
Copy constructor to create aSpELContextusing the given one'sPropertyAccessorandSpelExpressionParseras well as the givenBeanFactory.- Parameters:
source-factory-
-
-
Method Details
-
getParser
-
getEvaluationContext
-