|
Spring Data Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.data.mapping.model.SpELContext
public class SpELContext
Simple factory to create SpelExpressionParser
and EvaluationContext
instances.
Constructor Summary | |
---|---|
SpELContext(org.springframework.expression.PropertyAccessor accessor)
Creates a new SpELContext with the given PropertyAccessor . |
|
SpELContext(SpELContext source,
org.springframework.beans.factory.BeanFactory factory)
Copy constructor to create a SpELContext using the given one's PropertyAccessor and
SpelExpressionParser as well as the given BeanFactory . |
|
SpELContext(org.springframework.expression.spel.standard.SpelExpressionParser parser,
org.springframework.expression.PropertyAccessor accessor)
Creates a new SpELContext using the given SpelExpressionParser and PropertyAccessor . |
Method Summary | |
---|---|
org.springframework.expression.EvaluationContext |
getEvaluationContext(java.lang.Object source)
|
org.springframework.expression.ExpressionParser |
getParser()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpELContext(org.springframework.expression.PropertyAccessor accessor)
SpELContext
with the given PropertyAccessor
. Defaults the
SpelExpressionParser
.
accessor
- public SpELContext(org.springframework.expression.spel.standard.SpelExpressionParser parser, org.springframework.expression.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, org.springframework.beans.factory.BeanFactory factory)
SpELContext
using the given one's PropertyAccessor
and
SpelExpressionParser
as well as the given BeanFactory
.
source
- factory
- Method Detail |
---|
public org.springframework.expression.ExpressionParser getParser()
public org.springframework.expression.EvaluationContext getEvaluationContext(java.lang.Object source)
|
Spring Data Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |