From 9e5b129ba55107d446cfb54637ebf0d5ba5645b0 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. --- 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 dfbd1074cb..2f175e7a34 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