提交 cdd65a70 编写于 作者: J Juergen Hoeller

Added compatibility note on WildFly 8

上级 24d40fa3
......@@ -26,9 +26,9 @@ import org.springframework.util.ClassUtils;
/**
* {@link LoadTimeWeaver} implementation for JBoss's instrumentable ClassLoader.
* 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>
* file to the application archive - with the following content:
* <pre class="code">&lt;scanning xmlns="urn:jboss:scanning:1.0"/&gt;</pre>
......@@ -62,7 +62,7 @@ public class JBossLoadTimeWeaver implements LoadTimeWeaver {
public JBossLoadTimeWeaver(ClassLoader classLoader) {
Assert.notNull(classLoader, "ClassLoader must not be null");
if (classLoader.getClass().getName().startsWith("org.jboss.modules")) {
// JBoss AS 7
// JBoss AS 7 or WildFly 8
this.adapter = new JBossModulesAdapter(classLoader);
}
else {
......
......@@ -28,11 +28,11 @@ import java.net.URL;
import org.springframework.util.ReflectionUtils;
/**
* Utility for detecting the JBoss VFS version available in the classpath.
* As of Spring 4.0, supports VFS 3.x on JBoss AS 6+ (package {@code org.jboss.vfs}).
* 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})
* and is in particular compatible with JBoss AS 7 and WildFly 8.
*
* <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.
*
* @author Costin Leau
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册