Polishing

This commit is contained in:
Sam Brannen
2020-05-11 14:59:49 +02:00
parent 14e249aee3
commit a07dc80d72
2 changed files with 36 additions and 63 deletions

View File

@@ -4,38 +4,28 @@
<beans>
<bean id="frozenProxyCreator" class="org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator">
<property name="beanNames" value="frozenBean"/>
<property name="frozen" value="true"/>
<property name="interceptorNames" value="nopInterceptor"/>
<property name="beanNames" value="frozenBean" />
<property name="frozen" value="true" />
<property name="interceptorNames" value="nopInterceptor" />
</bean>
<bean id="_jdkBeanNameProxyCreator" class="org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator">
<description>
Automatically proxies using JDK dynamic proxies
</description>
<property name="beanNames"><value>jdk*,onlyJdk,doubleJdk</value></property>
<property name="interceptorNames">
<list>
<value>nopInterceptor</value>
</list>
</property>
<description>Automatically proxies using JDK dynamic proxies</description>
<property name="beanNames" value="jdk*,onlyJdk,doubleJdk" />
<property name="interceptorNames" value="nopInterceptor" />
</bean>
<bean id="doubleJdkBeanNameProxyCreator" class="org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator">
<property name="beanNames" value="doubleJdk"/>
<property name="interceptorNames" value="nopInterceptor"/>
<property name="beanNames" value="doubleJdk" />
<property name="interceptorNames" value="nopInterceptor" />
</bean>
<bean id="_cglibBeanNameProxyCreator" class="org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator">
<property name="beanNames">
<value>
cglib*
</value>
<property name="beanNames" value="cglib*" />
<property name="proxyTargetClass">
<description>Use the inherited ProxyConfig property to force CGLIB proxying</description>
<value>true</value>
</property>
<property name="proxyTargetClass">
<description>Use the inherited ProxyConfig property to force CGLIB proxying</description>
<value>true</value>
</property>
<property name="interceptorNames">
<description>Interceptors and Advisors to apply automatically</description>
<list>
@@ -49,14 +39,14 @@
<description>
Illustrates a JDK introduction
</description>
<property name="beanNames"><value>*introductionUsingJdk</value></property>
<property name="interceptorNames">
<property name="beanNames" value="*introductionUsingJdk" />
<property name="interceptorNames">
<list>
<value>introductionNopInterceptor</value>
<value>timestampIntroduction</value>
<value>lockableAdvisor</value>
</list>
</property>
</property>
</bean>
<bean id="timestampIntroduction" class="org.springframework.aop.testfixture.advice.TimestampIntroductionAdvisor"/>
@@ -74,11 +64,11 @@
<bean id="introductionNopInterceptor" class="org.springframework.aop.testfixture.interceptor.NopInterceptor"/>
<bean id="introductionUsingJdk" class="org.springframework.beans.testfixture.beans.TestBean">
<property name="name"><value>introductionUsingJdk</value></property>
<property name="name" value="introductionUsingJdk" />
</bean>
<bean id="second-introductionUsingJdk" class="org.springframework.beans.testfixture.beans.TestBean">
<property name="name"><value>second-introductionUsingJdk</value></property>
<property name="name" value="second-introductionUsingJdk" />
</bean>
<!--
@@ -89,7 +79,7 @@
</bean>
<bean id="jdk1" class="org.springframework.beans.testfixture.beans.TestBean">
<property name="name"><value>jdk1</value></property>
<property name="name" value="jdk1" />
</bean>
<bean id="frozen" class="org.springframework.beans.testfixture.beans.TestBean">
@@ -99,19 +89,19 @@
<alias name="frozen" alias="frozenBean"/>
<bean id="cglib1" class="org.springframework.beans.testfixture.beans.TestBean">
<property name="name"><value>cglib1</value></property>
<property name="name" value="cglib1" />
</bean>
<bean id="onlyJdk" class="org.springframework.beans.testfixture.beans.TestBean">
<property name="name"><value>onlyJdk</value></property>
<property name="name" value="onlyJdk" />
</bean>
<bean id="doubleJdk" class="org.springframework.beans.testfixture.beans.TestBean">
<property name="name"><value>doubleJdk</value></property>
<property name="name" value="doubleJdk" />
</bean>
<bean id="noproxy" class="org.springframework.beans.testfixture.beans.TestBean">
<property name="name"><value>noproxy</value></property>
<property name="name" value="noproxy" />
</bean>
</beans>