File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed
java/org/springframework/ws/server/endpoint/mapping
resources/org/springframework/ws/server/endpoint/mapping Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -40,11 +40,11 @@ private void loggedMethod() {
40
40
}
41
41
42
42
@ Around ("loggedMethod()" )
43
- public void log (ProceedingJoinPoint joinPoint ) throws Throwable {
43
+ public Object log (ProceedingJoinPoint joinPoint ) throws Throwable {
44
44
logInvoked = true ;
45
45
logger .info ("Before: " + joinPoint .getSignature ());
46
46
try {
47
- joinPoint .proceed ();
47
+ return joinPoint .proceed ();
48
48
}
49
49
finally {
50
50
logger .info ("After: " + joinPoint .getSignature ());
Original file line number Diff line number Diff line change 2
2
<beans xmlns =" http://www.springframework.org/schema/beans"
3
3
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
4
xmlns : aop =" http://www.springframework.org/schema/aop"
5
+ xmlns : sws =" http://www.springframework.org/schema/web-services"
5
6
xsi : schemaLocation =" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
6
- http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd" >
7
-
8
- <aop : aspectj-autoproxy />
9
-
10
- <bean id =" mapping"
11
- class =" org.springframework.ws.server.endpoint.mapping.PayloadRootAnnotationMethodEndpointMapping" />
7
+ http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
8
+ http://www.springframework.org/schema/web-services http://www.springframework.org/schema/web-services/web-services-2.0.xsd" >
12
9
13
10
<bean id =" endpoint" class =" org.springframework.ws.server.endpoint.mapping.PayloadRootEndpoint" />
14
11
12
+ <aop : aspectj-autoproxy />
13
+
15
14
<bean id =" other" class =" org.springframework.ws.server.endpoint.mapping.OtherBean" />
16
15
17
16
<bean id =" logAspect" class =" org.springframework.ws.server.endpoint.mapping.LogAspect" />
18
17
18
+ <sws : annotation-driven />
19
+
19
20
</beans >
You can’t perform that action at this time.
0 commit comments