-
Notifications
You must be signed in to change notification settings - Fork 5
/
moduleApplicationContext.txt
119 lines (113 loc) · 4.47 KB
/
moduleApplicationContext.txt
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<?xml version="1.0" encoding="UTF-8"?>
<!-- Beans to add to the current Application context definition -->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:jee="http://www.springframework.org/schema/jee"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:aop="http://www.springframework.org/schema/aop"
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/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/jee
http://www.springframework.org/schema/jee/spring-jee-3.0.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
http://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util-3.0.xsd">
<context:component-scan base-package="org.openmrs.module.m2sysbiometrics"/>
<bean id="m2sysbiometrics.jax2b" class="org.springframework.oxm.jaxb.Jaxb2Marshaller">
<property name="contextPath" value="org.openmrs.module.m2sysbiometrics.bioplugin"/>
</bean>
<bean id="m2sysbiometrics.messageFactory" class="org.springframework.ws.soap.saaj.SaajSoapMessageFactory" autowire="byType">
<property name="soapVersion">
<util:constant static-field="org.springframework.ws.soap.SoapVersion.SOAP_12"/>
</property>
</bean>
<bean parent="serviceContext">
<property name="moduleService">
<list>
<value>org.openmrs.module.m2sysbiometrics.service.RegistrationService</value>
<bean
class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
<property name="transactionManager">
<ref bean="transactionManager" />
</property>
<property name="target">
<bean
class="org.openmrs.module.m2sysbiometrics.service.impl.RegistrationServiceImpl">
</bean>
</property>
<property name="preInterceptors">
<list>
<ref bean="authorizationInterceptor" />
</list>
</property>
<property name="transactionAttributeSource">
<bean
class="org.springframework.transaction.annotation.AnnotationTransactionAttributeSource" />
</property>
</bean>
</list>
</property>
</bean>
<bean parent="serviceContext">
<property name="moduleService">
<list>
<value>org.openmrs.module.m2sysbiometrics.service.UpdateService</value>
<bean
class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
<property name="transactionManager">
<ref bean="transactionManager" />
</property>
<property name="target">
<bean
class="org.openmrs.module.m2sysbiometrics.service.impl.UpdateServiceImpl">
</bean>
</property>
<property name="preInterceptors">
<list>
<ref bean="authorizationInterceptor" />
</list>
</property>
<property name="transactionAttributeSource">
<bean
class="org.springframework.transaction.annotation.AnnotationTransactionAttributeSource" />
</property>
</bean>
</list>
</property>
</bean>
<bean parent="serviceContext">
<property name="moduleService">
<list>
<value>org.openmrs.module.m2sysbiometrics.service.SearchService</value>
<bean
class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
<property name="transactionManager">
<ref bean="transactionManager" />
</property>
<property name="target">
<bean
class="org.openmrs.module.m2sysbiometrics.service.impl.SearchServiceImpl">
</bean>
</property>
<property name="preInterceptors">
<list>
<ref bean="authorizationInterceptor" />
</list>
</property>
<property name="transactionAttributeSource">
<bean
class="org.springframework.transaction.annotation.AnnotationTransactionAttributeSource" />
</property>
</bean>
</list>
</property>
</bean>
</beans>