?? springruleenginecontext.xml
字號:
<?xml version="1.0" encoding="gb2312" ?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
<bean id="SharkysExpressLoansApplicationProcessor"
class="util.SpringRuleEngine">
<property name="firstStep">
<ref bean="ValidApplicationRule"/>
</property>
</bean>
<bean id="ValidApplicationRule"
class="business.ValidApplicationRule">
<property name="positiveOutcomeStep">
<ref bean="ValidStateRule"/>
</property>
<property name="negativeOutcomeStep">
< ref bean="RejectionAction"/>
</property>
</bean>
<bean id="RejectionAction"
class="business.ProcessRejectionAction">
<property name="persistenceService">
<ref bean="LoanApplicationPersistenceService"/>
</property>
</bean>
<bean id="LoanApplicationPersistenceService"
class="MockLoanApplicationPersistence"/>
<bean id="ValidStateRule"
class="business.ValidStateRule">
<property name="validStates">
<list>
<value>TX</value>
<value>MI</value>
</list>
</property>
<property name="positiveOutcomeStep">
< ref bean="ValidIncomeExpenseRatioRule"/>
</property>
<property name="negativeOutcomeStep">
< ref bean="RejectionAction"/>
</property>
</bean>
</beans>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -