public class MicaExpressionEvaluator
extends org.springframework.context.expression.CachedExpressionEvaluator
| Constructor and Description |
|---|
MicaExpressionEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear all caches.
|
org.springframework.expression.EvaluationContext |
createContext(Method method,
Object[] args,
Class<?> targetClass,
Object rootObject,
org.springframework.beans.factory.BeanFactory beanFactory)
Create an
EvaluationContext. |
org.springframework.expression.EvaluationContext |
createContext(Method method,
Object[] args,
Object target,
Class<?> targetClass,
org.springframework.beans.factory.BeanFactory beanFactory)
Create an
EvaluationContext. |
Object |
eval(String expression,
org.springframework.context.expression.AnnotatedElementKey methodKey,
org.springframework.expression.EvaluationContext evalContext) |
<T> T |
eval(String expression,
org.springframework.context.expression.AnnotatedElementKey methodKey,
org.springframework.expression.EvaluationContext evalContext,
Class<T> valueType) |
boolean |
evalAsBool(String expression,
org.springframework.context.expression.AnnotatedElementKey methodKey,
org.springframework.expression.EvaluationContext evalContext) |
String |
evalAsText(String expression,
org.springframework.context.expression.AnnotatedElementKey methodKey,
org.springframework.expression.EvaluationContext evalContext) |
public org.springframework.expression.EvaluationContext createContext(Method method, Object[] args, Object target, Class<?> targetClass, @Nullable org.springframework.beans.factory.BeanFactory beanFactory)
EvaluationContext.method - the methodargs - the method argumentstarget - the target objecttargetClass - the target classpublic org.springframework.expression.EvaluationContext createContext(Method method, Object[] args, Class<?> targetClass, Object rootObject, @Nullable org.springframework.beans.factory.BeanFactory beanFactory)
EvaluationContext.method - the methodargs - the method argumentsrootObject - rootObjecttargetClass - the target class@Nullable public Object eval(String expression, org.springframework.context.expression.AnnotatedElementKey methodKey, org.springframework.expression.EvaluationContext evalContext)
@Nullable public <T> T eval(String expression, org.springframework.context.expression.AnnotatedElementKey methodKey, org.springframework.expression.EvaluationContext evalContext, @Nullable Class<T> valueType)
@Nullable public String evalAsText(String expression, org.springframework.context.expression.AnnotatedElementKey methodKey, org.springframework.expression.EvaluationContext evalContext)
public boolean evalAsBool(String expression, org.springframework.context.expression.AnnotatedElementKey methodKey, org.springframework.expression.EvaluationContext evalContext)
public void clear()
Copyright © 2024. All rights reserved.