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
|
Method Summary |
java.net.URL |
getWebResource(java.lang.String path,
java.lang.ClassLoader classLoader)
Returns the location of a web resource. |
getWebResource
java.net.URL getWebResource(java.lang.String path,
java.lang.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-2012 Seam Framework. All Rights Reserved.