Browse Source

fixed JavaConfig sample code (SPR-6637, SPR-6638)

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2750 50f2f4bb-b051-0410-bef5-90022cba6387
pull/1/head
Juergen Hoeller 16 years ago
parent
commit
39ca200ba9
  1. 2
      spring-framework-reference/src/beans.xml

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

@ -5591,7 +5591,7 @@ public class CachingMovieCatalog implements MovieCatalog { @@ -5591,7 +5591,7 @@ public class CachingMovieCatalog implements MovieCatalog {
class would read as follows: <programlisting language="java">@Configuration
public class AppConfig {
@Bean
public void MyService myService() {
public MyService myService() {
return new MyServiceImpl();
}
}</programlisting></para>

Loading…
Cancel
Save