From 97915e5bb7a5dcc4275fd95616ffd8be8304bf05 Mon Sep 17 00:00:00 2001 From: Michael Isvy Date: Tue, 23 Feb 2010 15:46:52 +0000 Subject: [PATCH] SPR-6885 updates based on Chris Beams' comments. git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3031 50f2f4bb-b051-0410-bef5-90022cba6387 --- spring-framework-reference/src/beans.xml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/spring-framework-reference/src/beans.xml b/spring-framework-reference/src/beans.xml index dfbd1074cb5..2f175e7a34e 100644 --- a/spring-framework-reference/src/beans.xml +++ b/spring-framework-reference/src/beans.xml @@ -6681,7 +6681,7 @@ public class AppConfig { -
+
Further information about how Java-based configuration works internally The following example shows a @Bean annotated method being called twice: @@ -6727,7 +6727,12 @@ public class AppConfig { - There are a few restrictions due to the use of CGLIB to dynamically add features startup-time: + Beware that, in order for JavaConfig to work, you must include the CGLIB jar in your list of dependencies. + + + + + There are a few restrictions due to the fact that CGLIB dynamically adds features at startup-time: Configuration classes should not be final