public class URLClassLoaderWebXmlLocator extends Object implements WebXmlLocator
WebXmlLocator will try to identify the location of web.xml by examining the URLs
the classloader uses for loading classes. This will only work if the classloader is a URLClassLoader.Sortable.Comparator| Constructor and Description |
|---|
URLClassLoaderWebXmlLocator() |
| Modifier and Type | Method and Description |
|---|---|
int |
getPrecedence()
An integer precedence value that indicates how favorable the
implementation considers itself amongst alternatives.
|
URL |
getWebXmlLocation(ClassLoader classLoader)
Returns the guessed location of
web.xml. |
public int getPrecedence()
SortablegetPrecedence in interface Sortablepublic URL getWebXmlLocation(ClassLoader classLoader)
WebXmlLocatorweb.xml.getWebXmlLocation in interface WebXmlLocatorclassLoader - The classloader to use for resource lookupsweb.xml or null if the location could not be identifiedCopyright © 2008-2013 Seam Framework. All Rights Reserved.