|
Spring Data Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.data.mapping.model.SpELContext
public class SpELContext
Simple factory to create SpelExpressionParser and EvaluationContext instances.
| Constructor Summary | |
|---|---|
SpELContext(PropertyAccessor accessor)
Creates a new SpELContext with the given PropertyAccessor. |
|
SpELContext(SpELContext source,
BeanFactory factory)
Copy constructor to create a SpELContext using the given one's PropertyAccessor and
SpelExpressionParser as well as the given BeanFactory. |
|
SpELContext(SpelExpressionParser parser,
PropertyAccessor accessor)
Creates a new SpELContext using the given SpelExpressionParser and PropertyAccessor. |
|
| Method Summary | |
|---|---|
EvaluationContext |
getEvaluationContext(Object source)
|
ExpressionParser |
getParser()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpELContext(PropertyAccessor accessor)
SpELContext with the given PropertyAccessor. Defaults the
SpelExpressionParser.
accessor -
public SpELContext(SpelExpressionParser parser,
PropertyAccessor accessor)
SpELContext using the given SpelExpressionParser and PropertyAccessor. Will
default the SpelExpressionParser in case the given value for it is null.
parser - accessor -
public SpELContext(SpELContext source,
BeanFactory factory)
SpELContext using the given one's PropertyAccessor and
SpelExpressionParser as well as the given BeanFactory.
source - factory - | Method Detail |
|---|
public ExpressionParser getParser()
public EvaluationContext getEvaluationContext(Object source)
|
Spring Data Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||