org.apache.cocoon.core.container.spring.avalon
Class SourceResourceLoader

java.lang.Object
  extended byorg.apache.cocoon.core.container.spring.avalon.SourceResourceLoader
All Implemented Interfaces:
ResourceLoader

public class SourceResourceLoader
extends Object
implements ResourceLoader

Version:
$Id: SourceResourceLoader.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
protected  ResourceLoader delegate
           
protected  SourceResolver resolver
           
 
Fields inherited from interface org.springframework.core.io.ResourceLoader
CLASSPATH_URL_PREFIX
 
Constructor Summary
SourceResourceLoader(ResourceLoader delegate, SourceResolver resolver)
           
 
Method Summary
 ClassLoader getClassLoader()
           
 Resource getResource(String location)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delegate

protected final ResourceLoader delegate

resolver

protected final SourceResolver resolver
Constructor Detail

SourceResourceLoader

public SourceResourceLoader(ResourceLoader delegate,
                            SourceResolver resolver)
Method Detail

getClassLoader

public ClassLoader getClassLoader()
Specified by:
getClassLoader in interface ResourceLoader
See Also:
ResourceLoader.getClassLoader()

getResource

public Resource getResource(String location)
Specified by:
getResource in interface ResourceLoader
See Also:
ResourceLoader.getResource(java.lang.String)


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.