public class ExpressibleBeanReflexOperateHandlerChain extends BeanReflexOperateHandlerChain implements OperateHandlerChain
BeanReflexOperateHandlerChain的代理类,在被代理的原处理器链的基础上,当向待处理对象写入数据时,
该处理器将拦截数据并执行表达式获取返回值作为新的数据源,并再次调用处理器链尝试写入该值。
此外,其他行为皆与原处理器链保持一致。handlers| 构造器和说明 |
|---|
ExpressibleBeanReflexOperateHandlerChain(Supplier<org.springframework.expression.spel.support.StandardEvaluationContext> contextFactory) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
writeToTarget(Object sourceData,
Object target,
AssembleProperty property,
AssembleOperation operation)
将数据源中获取的数据写入待处理对象。
|
addHandlerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHandler, handlers, readFromSource, sourceCanRead, targetCanWritecomparator, compareTo, getOrderpublic ExpressibleBeanReflexOperateHandlerChain(Supplier<org.springframework.expression.spel.support.StandardEvaluationContext> contextFactory)
public void writeToTarget(Object sourceData, Object target, AssembleProperty property, AssembleOperation operation)
OperateHandlerChainwriteToTarget 在接口中 OperateHandlerwriteToTarget 在接口中 OperateHandlerChainsourceData - 从数据源获取的数据target - 待处理对象property - 待处理字段operation - 字段配置Copyright © 2022. All rights reserved.