org.jboss.seam.faces.projectstage
Class URLClassLoaderWebXmlLocator
java.lang.Object
org.jboss.seam.faces.projectstage.URLClassLoaderWebXmlLocator
- All Implemented Interfaces:
- org.jboss.seam.faces.projectstage.WebXmlLocator, org.jboss.solder.util.Sortable
public class URLClassLoaderWebXmlLocator
- extends Object
- implements org.jboss.seam.faces.projectstage.WebXmlLocator
This implementation of 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.
- Author:
- Christian Kaltepoth
| Nested classes/interfaces inherited from interface org.jboss.solder.util.Sortable |
org.jboss.solder.util.Sortable.Comparator |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLClassLoaderWebXmlLocator
public URLClassLoaderWebXmlLocator()
getPrecedence
public int getPrecedence()
- Specified by:
getPrecedence in interface org.jboss.solder.util.Sortable
getWebXmlLocation
public URL getWebXmlLocation(ClassLoader classLoader)
- Specified by:
getWebXmlLocation in interface org.jboss.seam.faces.projectstage.WebXmlLocator
Copyright © 2009-2011 Seam Framework. All Rights Reserved.