org.mule.extras.spring.config
Class MuleResourceLoader

java.lang.Object
  extended by org.springframework.core.io.DefaultResourceLoader
      extended by org.mule.extras.spring.config.MuleResourceLoader
All Implemented Interfaces:
org.springframework.core.io.ResourceLoader

public class MuleResourceLoader
extends org.springframework.core.io.DefaultResourceLoader

By default, a resource is loaded directly from the classpath. Override this method to try loading it from the file system first.


Field Summary
protected  Log logger
           
 
Fields inherited from interface org.springframework.core.io.ResourceLoader
CLASSPATH_URL_PREFIX
 
Constructor Summary
MuleResourceLoader()
           
 
Method Summary
protected  org.springframework.core.io.Resource getResourceByPath(String path)
          By default, a resource is loaded directly from the classpath.
 
Methods inherited from class org.springframework.core.io.DefaultResourceLoader
getClassLoader, getResource, setClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected transient Log logger
Constructor Detail

MuleResourceLoader

public MuleResourceLoader()
Method Detail

getResourceByPath

protected org.springframework.core.io.Resource getResourceByPath(String path)
By default, a resource is loaded directly from the classpath. Override this method to try loading it from the file system first.

Overrides:
getResourceByPath in class org.springframework.core.io.DefaultResourceLoader


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.