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

This commit is contained in:
Chris Beams 2009-08-25 05:10:42 +00:00
parent a7acea2329
commit b118aae971
1 changed files with 2 additions and 2 deletions

View File

@ -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();
}