Added compatibility note on WildFly 8
This commit is contained in:
parent
24d40fa3e0
commit
cdd65a70af
|
|
@ -26,9 +26,9 @@ import org.springframework.util.ClassUtils;
|
||||||
/**
|
/**
|
||||||
* {@link LoadTimeWeaver} implementation for JBoss's instrumentable ClassLoader.
|
* {@link LoadTimeWeaver} implementation for JBoss's instrumentable ClassLoader.
|
||||||
* Autodetects the specific JBoss version at runtime: currently supports
|
* Autodetects the specific JBoss version at runtime: currently supports
|
||||||
* JBoss AS 6 and 7 (as of Spring 4.0).
|
* JBoss AS 6 and 7, as well as WildFly 8 (as of Spring 4.0).
|
||||||
*
|
*
|
||||||
* <p><b>NOTE:</b> On JBoss 6.0, to avoid the container loading the classes before the
|
* <p><b>NOTE:</b> On JBoss 6, to avoid the container loading the classes before the
|
||||||
* application actually starts, one needs to add a <tt>WEB-INF/jboss-scanning.xml</tt>
|
* application actually starts, one needs to add a <tt>WEB-INF/jboss-scanning.xml</tt>
|
||||||
* file to the application archive - with the following content:
|
* file to the application archive - with the following content:
|
||||||
* <pre class="code"><scanning xmlns="urn:jboss:scanning:1.0"/></pre>
|
* <pre class="code"><scanning xmlns="urn:jboss:scanning:1.0"/></pre>
|
||||||
|
|
@ -62,7 +62,7 @@ public class JBossLoadTimeWeaver implements LoadTimeWeaver {
|
||||||
public JBossLoadTimeWeaver(ClassLoader classLoader) {
|
public JBossLoadTimeWeaver(ClassLoader classLoader) {
|
||||||
Assert.notNull(classLoader, "ClassLoader must not be null");
|
Assert.notNull(classLoader, "ClassLoader must not be null");
|
||||||
if (classLoader.getClass().getName().startsWith("org.jboss.modules")) {
|
if (classLoader.getClass().getName().startsWith("org.jboss.modules")) {
|
||||||
// JBoss AS 7
|
// JBoss AS 7 or WildFly 8
|
||||||
this.adapter = new JBossModulesAdapter(classLoader);
|
this.adapter = new JBossModulesAdapter(classLoader);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
||||||
|
|
@ -28,11 +28,11 @@ import java.net.URL;
|
||||||
import org.springframework.util.ReflectionUtils;
|
import org.springframework.util.ReflectionUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Utility for detecting the JBoss VFS version available in the classpath.
|
* Utility for detecting and accessing JBoss VFS in the classpath.
|
||||||
* As of Spring 4.0, supports VFS 3.x on JBoss AS 6+ (package {@code org.jboss.vfs}).
|
* As of Spring 4.0, supports VFS 3.x on JBoss AS 6+ (package {@code org.jboss.vfs})
|
||||||
|
* and is in particular compatible with JBoss AS 7 and WildFly 8.
|
||||||
*
|
*
|
||||||
* <p>Thanks go to Marius Bogoevici for the initial patch.
|
* <p>Thanks go to Marius Bogoevici for the initial patch.
|
||||||
*
|
|
||||||
* <b>Note:</b> This is an internal class and should not be used outside the framework.
|
* <b>Note:</b> This is an internal class and should not be used outside the framework.
|
||||||
*
|
*
|
||||||
* @author Costin Leau
|
* @author Costin Leau
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue