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

This commit is contained in:
Juergen Hoeller
2010-01-05 12:58:41 +00:00
parent 9ca6003533
commit f7b0a2c0a2

View File

@@ -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>