Java Action配置

来源:互联网 发布:idc虚拟主机源码 编辑:程序博客网 时间:2024/05/19 18:37

配置文件

  
    <!-- 存储模板中对应的参数到数据库 
<bean id="optyParamSaveAction" class="com.pingan.ecpub.biz.action.bond.process.OptyParamSaveAction">
<property name="commonService">
<ref bean="commonServiceEcpub" />
</property>
<property name="triggerActionConditions">
<list>
<map>
<entry key="serviceName" ><value>bondOptyInMaturityService</value></entry>
<entry key="serviceMethod" ><value>insertBPIM</value></entry>
<entry key="buttonName" ><value>S_BUTTON_NEXT</value></entry> <!-- S_BUTTON_NEXT -->
<entry key="prodName" ><value>债券承销</value></entry>
<entry key="stageId" ><value>Issue_application</value></entry>
<entry key="paramIndId" ><value>5</value></entry>
</map>
</list>
</property>
</bean>


Java代码

private List<Map<String, String>> triggerActionConditions;

public void setTriggerActionConditions(List<Map<String, String>> triggerActionConditions) {
this.triggerActionConditions = triggerActionConditions;
}


if (triggerActionConditions != null){//触发action或service配置biz-context-bond-process.xml
    for (Map condition : triggerActionConditions){}

}


0 0