org.codehaus.plexus.resource.loader
Class ThreadContextClasspathResourceLoader

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.codehaus.plexus.resource.loader.AbstractResourceLoader
          extended by org.codehaus.plexus.resource.loader.ThreadContextClasspathResourceLoader
All Implemented Interfaces:
org.codehaus.plexus.logging.LogEnabled, ResourceLoader

public class ThreadContextClasspathResourceLoader
extends AbstractResourceLoader

Version:
$Id: ThreadContextClasspathResourceLoader.java 8418 2009-09-18 19:51:25Z bentmann $
Author:
Trygve Laugstøl

Field Summary
static java.lang.String ID
           
 
Fields inherited from class org.codehaus.plexus.resource.loader.AbstractResourceLoader
paths
 
Fields inherited from interface org.codehaus.plexus.resource.loader.ResourceLoader
ROLE
 
Constructor Summary
ThreadContextClasspathResourceLoader()
           
 
Method Summary
 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
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final java.lang.String ID
See Also:
Constant Field Values
Constructor Detail

ThreadContextClasspathResourceLoader

public ThreadContextClasspathResourceLoader()
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.


Copyright © 2001-2011 Codehaus. All Rights Reserved.