-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrest service xml
76 lines (63 loc) · 4.91 KB
/
rest service xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
Enter file contents here<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:sws="http://www.springframework.org/schema/web-services"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:util="http://www.springframework.org/schema/util"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/web-services
http://www.springframework.org/schema/web-services/web-services-2.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
http://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util-3.0.xsd">
<import resource="jdbcTemplate.xml" />
<!-- Factory Beans -->
<bean id="InterestStrategyFactory" class="com.bnp.ivision.common.interest.factories.InterestStrategyFactory" />
<bean id="InterestPhaseFactory" class="com.bnp.ivision.common.interest.factories.InterestPhaseFactory" />
<!-- Interest Service Beans -->
<bean id="InterestService" class="com.bnp.ivision.common.interest.service.InterestService" />
<!-- Interest Strategy Beans -->
<bean id="InterestStrategy" class="com.bnp.ivision.common.interest.stratagies.InterestStrategy" abstract="true" />
<bean id="ExtendInterestStrategy" parent="InterestStrategy" class="com.bnp.ivision.common.interest.stratagies.ExtendInterestStrategy" />
<bean id="NormalInterestStrategy" parent="InterestStrategy" class="com.bnp.ivision.common.interest.stratagies.NormalInterestStrategy" />
<bean id="OverdueInterestStrategy" parent="InterestStrategy" class="com.bnp.ivision.common.interest.stratagies.OverdueInterestStrategy" />
<!-- Statement Generator Beans -->
<bean id="InsertStmtGenerator" abstract="true" class="com.bnp.ivision.common.interest.statements.InsertStmtGenerator" />
<bean id="NormalInsertStmtGenerator" parent="InsertStmtGenerator" class="com.bnp.ivision.common.interest.statements.NormalInsertStmtGenerator" />
<bean id="OverdueInsertStmtGenerator" parent="InsertStmtGenerator" class="com.bnp.ivision.common.interest.statements.OverdueInsertStmtGenerator" />
<bean id="ExtendInsertStmtGenerator" parent="InsertStmtGenerator" class="com.bnp.ivision.common.interest.statements.ExtendInsertStmtGenerator" />
<bean id="UpdateStmtGenerator" class="com.bnp.ivision.common.interest.statements.UpdateStmtGenerator" />
<bean id="TransactionStatementGenerator" class="com.bnp.ivision.common.interest.statements.TransactionStatementGenerator" />
<!-- Statement Beans -->
<bean id="InterestStatement" class="com.bnp.ivision.common.interest.domain.InterestStatement" />
<bean id="TransactionStatement" class="com.bnp.ivision.common.interest.domain.TransactionStatement" />
<!-- Interest Computation -->
<bean id="ComputationInvoker" class="com.bnp.ivision.common.interest.compute.ComputationInvoker" />
<!-- Interest DAO Beans -->
<bean id="InterestDAO" class="com.bnp.ivision.common.interest.dao.InterestDAO" />
<!-- Interest RowMapper -->
<bean id="InterestStatementRowMapper" class="com.bnp.ivision.common.interest.mappers.InterestStatementRowMapper" />
<!-- Interest Phases Beans -->
<bean id="InterestPhases" abstract="true" class="com.bnp.ivision.common.interest.phases.InterestPhases" />
<bean id="InterestPhaseNew" parent="InterestPhases" class="com.bnp.ivision.common.interest.phases.InterestPhaseNew" />
<bean id="InterestPhaseUpdate" parent="InterestPhases" class="com.bnp.ivision.common.interest.phases.InterestPhaseUpdate" />
<bean id="InterestPhaseSettle" parent="InterestPhases" class="com.bnp.ivision.common.interest.phases.InterestPhaseSettle" />
<bean id="InterestPhaseExtend" parent="InterestPhases" class="com.bnp.ivision.common.interest.phases.InterestPhaseExtend" />
<bean id="InterestPhasePartialSettle" parent="InterestPhases" class="com.bnp.ivision.common.interest.phases.InterestPhasePartialSettle" />
<bean id="InterestPhaseProdTransfer" parent="InterestPhases" class="com.bnp.ivision.common.interest.phases.InterestPhaseProdTransfer" />
<!-- Interest RowMapper -->
<bean id="InterestRateImpl" class="com.bnp.ivision.common.interest.compute.rate.InterestRateImpl" scope="prototype" lazy-init="true" />
<!-- Logging Bean -->
<!-- 945054 : 20140704 : below class is not being used, JTEST Violation : START -->
<!-- <bean id="WebLoggerBean" class="com.bnp.ivision.common.interest.aspect.logger.WebLoggerBean" /> -->
<!-- 945054 : 20140704 : below class is not being used, JTEST Violation : END -->
<!-- AOP -->
<!-- <aop:aspectj-autoproxy>
<aop:include name="WebLoggerBean" />
</aop:aspectj-autoproxy> -->
</beans>