|
1 |
| -<?xml version="1.0" encoding="UTF-8"?> |
2 |
| -<objects xmlns="http://www.springframework.org/springpython/schema/objects" |
3 |
| - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 |
| - xsi:schemaLocation="http://www.springframework.org/springpython/schema/objects |
5 |
| - http://springpython.webfactional.com/schema/context/spring-python-context-1.0.xsd"> |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<objects xmlns="http://www.springframework.org/springpython/schema/objects" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://www.springframework.org/springpython/schema/objects |
| 5 | + http://springpython.webfactional.com/schema/context/spring-python-context-1.0.xsd"> |
6 | 6 |
|
7 | 7 | <object id="wrappingInterceptor" class="springpythontest.support.testSupportClasses.WrappingInterceptor"/>
|
8 | 8 |
|
9 | 9 | <object id="beginEndInterceptor" class="springpythontest.support.testSupportClasses.BeforeAndAfterInterceptor"/>
|
10 | 10 |
|
11 | 11 | <object id="pointcutTest1" class="springpython.aop.RegexpMethodPointcutAdvisor">
|
12 | 12 | <property name="advice" ref="wrappingInterceptor"/>
|
13 |
| - <property name="patterns"> |
14 |
| - <list> |
15 |
| - <value>.*do.*</value> |
16 |
| - </list> |
17 |
| - </property> |
| 13 | + <property name="patterns"> |
| 14 | + <list> |
| 15 | + <value>.*do.*</value> |
| 16 | + </list> |
| 17 | + </property> |
18 | 18 | </object>
|
19 | 19 |
|
20 | 20 | <object id="pointcutTest2" class="springpython.aop.RegexpMethodPointcutAdvisor">
|
21 | 21 | <property name="advice">
|
22 |
| - <list> |
| 22 | + <list> |
23 | 23 | <ref object="beginEndInterceptor"/>
|
24 |
| - <ref object="wrappingInterceptor"/> |
| 24 | + <ref object="wrappingInterceptor"/> |
| 25 | + </list> |
| 26 | + </property> |
| 27 | + <property name="patterns"> |
| 28 | + <list> |
| 29 | + <value>.*do.*</value> |
25 | 30 | </list>
|
26 | 31 | </property>
|
27 |
| - <property name="patterns"> |
28 |
| - <list> |
29 |
| - <value>.*do.*</value> |
30 |
| - </list> |
31 |
| - </property> |
32 | 32 | </object>
|
33 | 33 |
|
34 | 34 | <object id="targetService1" class="springpythontest.support.testSupportClasses.SampleService"/>
|
35 | 35 |
|
36 | 36 | <object id="sampleService1" class="springpython.aop.ProxyFactoryObject">
|
37 | 37 | <property name="target" ref="targetService1"/>
|
38 |
| - <property name="interceptors"> |
| 38 | + <property name="interceptors"> |
39 | 39 | <list>
|
40 |
| - <ref object="pointcutTest1"/> |
| 40 | + <ref object="pointcutTest1"/> |
41 | 41 | </list>
|
42 | 42 | </property>
|
43 | 43 | </object>
|
|
46 | 46 |
|
47 | 47 | <object id="sampleService2" class="springpython.aop.ProxyFactoryObject">
|
48 | 48 | <property name="target" ref="targetService2"/>
|
49 |
| - <property name="interceptors"> |
| 49 | + <property name="interceptors"> |
50 | 50 | <list>
|
51 |
| - <ref object="pointcutTest2"/> |
| 51 | + <ref object="pointcutTest2"/> |
52 | 52 | </list>
|
53 | 53 | </property>
|
54 | 54 | </object>
|
|
57 | 57 |
|
58 | 58 | <object id="factory" class="springpython.aop.ProxyFactory">
|
59 | 59 | <property name="target" ref="sampleService3"/>
|
60 |
| - <property name="interceptors"> |
| 60 | + <property name="interceptors"> |
61 | 61 | <list>
|
62 |
| - <ref object="wrappingInterceptor"/> |
| 62 | + <ref object="wrappingInterceptor"/> |
63 | 63 | </list>
|
64 | 64 | </property>
|
65 | 65 | </object>
|
|
68 | 68 |
|
69 | 69 | <object id="sampleService4" class="springpython.aop.ProxyFactoryObject">
|
70 | 70 | <property name="target" ref="targetService4"/>
|
71 |
| - <property name="interceptors"> |
| 71 | + <property name="interceptors"> |
72 | 72 | <list>
|
73 |
| - <ref object="wrappingInterceptor"/> |
| 73 | + <ref object="wrappingInterceptor"/> |
74 | 74 | </list>
|
75 | 75 | </property>
|
76 | 76 | </object>
|
77 | 77 |
|
78 | 78 | <object id="sampleService5" class="springpython.aop.ProxyFactoryObject">
|
79 |
| - <property name="target"> |
80 |
| - <value>springpythontest.support.testSupportClasses.SampleService</value> |
| 79 | + <property name="target"> |
| 80 | + <value>springpythontest.support.testSupportClasses.SampleService</value> |
81 | 81 | </property>
|
82 |
| - <property name="interceptors"> |
| 82 | + <property name="interceptors"> |
83 | 83 | <list>
|
84 |
| - <ref object="wrappingInterceptor"/> |
| 84 | + <ref object="wrappingInterceptor"/> |
85 | 85 | </list>
|
86 | 86 | </property>
|
87 | 87 | </object>
|
88 |
| - |
89 |
| - <object id="sampleService6" class="springpython.aop.ProxyFactoryObject"> |
90 |
| - <property name="target"> |
91 |
| - <value>springpythontest.support.testSupportClasses.SampleService</value> |
92 |
| - </property> |
93 |
| - <property name="interceptors"> |
94 |
| - <!-- Note that it isn't wrapped in a list --> |
95 |
| - <ref object="wrappingInterceptor"/> |
96 |
| - </property> |
97 |
| - </object> |
98 |
| - |
| 88 | + |
| 89 | + <object id="sampleService6" class="springpython.aop.ProxyFactoryObject"> |
| 90 | + <property name="target"> |
| 91 | + <value>springpythontest.support.testSupportClasses.SampleService</value> |
| 92 | + </property> |
| 93 | + <property name="interceptors"> |
| 94 | + <!-- Note that it isn't wrapped in a list --> |
| 95 | + <ref object="wrappingInterceptor"/> |
| 96 | + </property> |
| 97 | + </object> |
| 98 | + |
99 | 99 | </objects>
|
0 commit comments