diff --git a/org.springframework.context/src/main/java/org/springframework/instrument/classloading/jboss/JBossLoadTimeWeaver.java b/org.springframework.context/src/main/java/org/springframework/instrument/classloading/jboss/JBossLoadTimeWeaver.java index b5f5e16016..dbe14654dc 100644 --- a/org.springframework.context/src/main/java/org/springframework/instrument/classloading/jboss/JBossLoadTimeWeaver.java +++ b/org.springframework.context/src/main/java/org/springframework/instrument/classloading/jboss/JBossLoadTimeWeaver.java @@ -27,6 +27,12 @@ import org.springframework.util.ClassUtils; * {@link LoadTimeWeaver} implementation for JBoss's instrumentable ClassLoader. * *

NOTE: Requires JBoss AS version 5.0.0 or higher. + *

NOTE: On JBoss 6.0.0, to avoid the container loading the classes before + * the application actually starts, one needs to add WEB-INF/jboss-scanning.xml + * to her archive with the following content: + *

+ *   <scanning xmlns="urn:jboss:scanning:1.0"/>
+ * 
* *

Thanks to Ales Justin and Marius Bogoevici for the initial prototype.

*