1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.springframework.ws.config;
18
19 import org.springframework.beans.factory.annotation.Autowired;
20 import org.springframework.ws.context.MessageContext;
21 import org.springframework.ws.server.EndpointInterceptor;
22
23 public class DummyInterceptor implements EndpointInterceptor {
24
25 @Autowired
26 private DummyInterceptorDependency autowiredDependency;
27
28 private DummyInterceptorDependency propertyDependency;
29
30 public void setPropertyDependency(DummyInterceptorDependency propertyDependency) {
31 this.propertyDependency = propertyDependency;
32 }
33
34 public DummyInterceptorDependency getPropertyDependency() {
35 return propertyDependency;
36 }
37
38 public DummyInterceptorDependency getAutowiredDependency() {
39 return autowiredDependency;
40 }
41
42 public boolean handleRequest(MessageContext messageContext, Object endpoint)
43 throws Exception {
44 return true;
45 }
46
47 public boolean handleResponse(MessageContext messageContext, Object endpoint)
48 throws Exception {
49 return true;
50 }
51
52 public boolean handleFault(MessageContext messageContext, Object endpoint)
53 throws Exception {
54 return true;
55 }
56
57 public void afterCompletion(MessageContext messageContext, Object endpoint,
58 Exception ex) throws Exception {
59 }
60 }