org.jboss.solder.servlet.resource
Interface WebResourceLocationProvider
- All Superinterfaces:
- Sortable
public interface WebResourceLocationProvider
- extends Sortable
SPI for finding the location of web resources without using ServletContext.
- Author:
- Christian Kaltepoth
getWebResource
URL getWebResource(String path,
ClassLoader classLoader)
- Returns the location of a web resource. The path must begin with a / and is interpreted as relative to the
current context root.
- Parameters:
path - The path of the resource to lookup (e.g. "/WEB-INF/web.xml")classLoader - The classloader to use for resource lookups
- Returns:
- The location of the resource or
null if the location could not be found
Copyright © 2008-2011 Seam Framework. All Rights Reserved.