com.bstek.dorado.data.config
public class EntityExpressionMethodInterceptor extends ExpressionMethodInterceptor
ExpressionMethodInterceptor.ReadMethodDescriptor
ENTRY_SET, GET, interceptingReadMethods, interceptingWriteMethods, PUT
Constructor and Description |
---|
EntityExpressionMethodInterceptor(java.util.Map<java.lang.String,Expression> expressionProperties) |
Modifier and Type | Method and Description |
---|---|
protected void |
discoverInterceptingMethods(java.lang.Class<?> clazz) |
protected java.lang.Object |
evaluateExpression(ExpressionMethodInterceptor.ReadMethodDescriptor methodDescriptor)
根据被拦截到的方法评估(evaluate)相应的EL表达式,并返回其结果。
|
getExpressionProperties, invoke, isDisabled, setDisabled
public EntityExpressionMethodInterceptor(java.util.Map<java.lang.String,Expression> expressionProperties)
expressionProperties
- EL表达式的集合。其中Map的键值为相应的对象属性名,值为EL表达式。protected void discoverInterceptingMethods(java.lang.Class<?> clazz) throws java.lang.Exception
discoverInterceptingMethods
in class ExpressionMethodInterceptor
java.lang.Exception
protected java.lang.Object evaluateExpression(ExpressionMethodInterceptor.ReadMethodDescriptor methodDescriptor)
ExpressionMethodInterceptor
evaluateExpression
in class ExpressionMethodInterceptor
methodDescriptor
- 被拦截到的方法。Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.