Aurocare_27_07_2018
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
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:c="http://www.springframework.org/schema/c"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd" >
<context:component-scan base-package="com.bestray.healthcareinpatient">
<context:include-filter type="regex"
expression="com.bestray.healthcareinpatient.controller.*" />
<context:include-filter type="regex"
expression="com.bestray.healthcareinpatient.serviceimpl.*" />
<context:include-filter type="regex"
expression="com.bestray.healthcareinpatient.daoimpl.*" />
</context:component-scan >
<import resource="HealthCareInpatientDataAccessContext.xml"/>
<import resource="healthCareCommonUtilBeans.xml"/>
<!-- Aspect
<bean id="logAspect" class="com.bestray.healthcareemr.Util.LoggerAspect" />
<aop:config>
<aop:aspect id="aspectLoggging" ref="logAspect">
<aop:pointcut id="daoclass"
expression="execution(* com.bestray.healthcareemr.Dao.*.*(..))"/>
<aop:pointcut id="serviceclass"
expression="execution(* com.bestray.healthcareemr.Service.*.*(..))"/>
<aop:after-throwing method="daologAfterThrowing" throwing="error" pointcut-ref="daoclass" />
<aop:after-throwing method="servicelogAfterThrowing" throwing="error" pointcut-ref="serviceclass" />
<aop:after-returning method="daologAfterReturning" returning="result" pointcut-ref="daoclass" />
<aop:after-returning method="servicelogAfterReturning" returning="result" pointcut-ref="serviceclass" />
<aop:around method="daologAround" pointcut-ref="daoclass"/>
<aop:around method="servicelogAround" pointcut-ref="serviceclass"/>
</aop:aspect>
</aop:config>
-->
</beans>
|
Revision |
Author |
Commited |
Message |
1
|
girijabapi
|
Fri 27 Jul, 2018 07:21:55 +0000 |
|