public class DirectoryNameWebXmlLocator extends Object implements org.jboss.solder.servlet.webxml.WebXmlLocator
This implementation of WebXmlLocator will try to identify the location of web.xml by searching for a
known resource on the classpath and trying to find the WEB-INF directory in its path name. This will typically
work if the known resource in located in a JAR file inside the WEB-INF/lib directory.
Compared to URLClassLoaderWebXmlLocator this implementation works fine even for containers like JBoss AS6 and AS7.
| Constructor and Description |
|---|
DirectoryNameWebXmlLocator() |
public int getPrecedence()
getPrecedence in interface org.jboss.solder.util.Sortablepublic URL getWebXmlLocation(ClassLoader classLoader)
getWebXmlLocation in interface org.jboss.solder.servlet.webxml.WebXmlLocatorCopyright © 2008-2013 Seam Framework. All Rights Reserved.