resort to using @Bean directly

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1583 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Juergen Hoeller
2009-07-21 15:22:58 +00:00
parent a40f454ac8
commit 68a265de1a
@@ -320,6 +320,7 @@ public class ScopingTests {
return tb;
}
@Bean
@MyProxiedScope
public ITestBean scopedProxyInterface() {
TestBean tb = new TestBean();
@@ -327,6 +328,7 @@ public class ScopingTests {
return tb;
}
@Bean
@MyProxiedScope
public TestBean scopedProxyClass() {
TestBean tb = new TestBean();
@@ -359,7 +361,6 @@ public class ScopingTests {
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Bean
@Scope(value=SCOPE, proxyMode=ScopedProxyMode.TARGET_CLASS)
@interface MyProxiedScope {
}