Class ThreadContextClasspathResourceLoader
- java.lang.Object
-
- org.codehaus.plexus.resource.loader.AbstractResourceLoader
-
- org.codehaus.plexus.resource.loader.ThreadContextClasspathResourceLoader
-
- All Implemented Interfaces:
ResourceLoader
@Named("classloader") @Singleton public class ThreadContextClasspathResourceLoader extends AbstractResourceLoader
- Version:
- $Id$
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ID
-
Fields inherited from class org.codehaus.plexus.resource.loader.AbstractResourceLoader
paths
-
-
Constructor Summary
Constructors Constructor Description ThreadContextClasspathResourceLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlexusResource
getResource(java.lang.String name)
Returns the resource with the given name.-
Methods inherited from class org.codehaus.plexus.resource.loader.AbstractResourceLoader
addSearchPath, getResourceAsInputStream
-
-
-
-
Field Detail
-
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getResource
public PlexusResource getResource(java.lang.String name) throws ResourceNotFoundException
Description copied from interface:ResourceLoader
Returns the resource with the given name.- Parameters:
name
- The resources name.- Returns:
- The resource with the given name.
- Throws:
ResourceNotFoundException
- The resource wasn't found, or wasn't available.
-
-