|
|||||
|
|||||
yan_component_config.xml
<?xml version="1.0" encoding="UTF-8"?> <module name="test Nuts performance"> <body> <bean id="ssoo" class="tests.jfun.yan.benchmark.models.Soo" props="{bar=$bar}"/> <bean id="auto_soo" class="tests.jfun.yan.benchmark.models.Soo" autowire="bytype" singleton="false"/> <bean id="foo" class="tests.jfun.yan.benchmark.models.FooImpl" args="$bar" singleton="false"/> <bean id="bar" class="tests.jfun.yan.benchmark.models.Bar" singleton="false"/> <bean id="soo" class="tests.jfun.yan.benchmark.models.Soo" singleton="false" props="{bar=$bar}"/> <bean id="fooInterceptor" class="tests.jfun.yan.interceptor.FooInterceptor" singleton="true"/> <bean id="statefulBarInterceptor" class="tests.jfun.yan.interceptor.ConcretBarInterceptorA" singleton="false"/> <bean id="fooAdvisor" class="org.springframework.aop.support.RegexpMethodPointcutAdvisor" props="{advice=$fooInterceptor, patterns=.*.noop}" /> <bean id="fooProxy" class="org.springframework.aop.framework.ProxyFactoryBean" props="{target=$foo,proxyTargetClass=true,optimize=true,frozen=true,interceptorNames=fooAdvisor}" singleton="false" /> <bean id="sooProxy" class="org.springframework.aop.framework.ProxyFactoryBean" props="{singleton=false,target=$soo,proxyTargetClass=true,frozen=true,interceptorNames=fooAdvisor}" /> </body> </module> |
|||||
|
Copyright 2003-2006 - The Codehaus. All rights reserved unless otherwise noted.
Powered by Atlassian Confluence
|
|||||