| java.lang.Object org.apache.openejb.core.webservices.UriResolver
UriResolver | public class UriResolver (Code) | | Resolves a File, classpath resource, or URL according to the follow rules:
- Check to see if a file exists, relative to the base URI.
- If the file doesn't exist, check the classpath
- If the classpath doesn't exist, try to create URL from the URI.
|
UriResolver | public UriResolver()(Code) | | |
getResource | public static URL getResource(String resourceName, Class callingClass)(Code) | | Load a given resource. This method will try to load the resource
using the following methods (in order):
- From Thread.currentThread().getContextClassLoader()
- From ClassLoaderUtil.class.getClassLoader()
- callingClass.getClassLoader()
Parameters: resourceName - The name of the resource to load Parameters: callingClass - The Class object of the calling object |
isFile | public boolean isFile()(Code) | | |
isResolved | public boolean isResolved()(Code) | | |
|
|