Browse Source

s/(init|destroy)MethodName/(init|destroy)Method/ to reflect recent changes made when porting @Bean to Spring core.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1758 50f2f4bb-b051-0410-bef5-90022cba6387
pull/1/head
Chris Beams 17 years ago
parent
commit
b10ae65e75
  1. 4
      spring-framework-reference/src/beans.xml

4
spring-framework-reference/src/beans.xml

@ -5567,11 +5567,11 @@ public class Bar { @@ -5567,11 +5567,11 @@ public class Bar {
@Configuration
public class AppConfig {
@Bean(initMethodName = "init")
@Bean(initMethod = "init")
public Foo foo() {
return new Foo();
}
@Bean(destroyMethodName="cleanup")
@Bean(destroyMethod = "cleanup")
public Bar bar() {
return new Bar();
}

Loading…
Cancel
Save