Explicit notes for load-time weaving on Tomcat 7.0.63+ and WildFly 9

Issue: SPR-13210
This commit is contained in:
Juergen Hoeller
2015-07-07 22:01:36 +02:00
parent 5e24ee9b55
commit 08fb62570e
3 changed files with 33 additions and 18 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2013 the original author or authors.
* Copyright 2002-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -44,6 +44,9 @@ import org.springframework.instrument.classloading.WeavingTransformer;
* in the LoadTimeWeaver interface, as expected by ReflectiveLoadTimeWeaver.
*
* <p><b>NOTE:</b> Requires Apache Tomcat version 6.0 or higher, as of Spring 4.0.
* This class does not work on Tomcat 7.0.63 and higher; please rely on Tomcat's own
* {@code InstrumentableClassLoader} facility instead, as autodetected by Spring's
* {@link org.springframework.instrument.classloading.tomcat.TomcatLoadTimeWeaver}.
*
* @author Costin Leau
* @author Juergen Hoeller
@@ -51,6 +54,7 @@ import org.springframework.instrument.classloading.WeavingTransformer;
* @see #addTransformer
* @see #getThrowawayClassLoader
* @see org.springframework.instrument.classloading.ReflectiveLoadTimeWeaver
* @see org.springframework.instrument.classloading.tomcat.TomcatLoadTimeWeaver
*/
public class TomcatInstrumentableClassLoader extends WebappClassLoader {