org.mule.config.spring
Class MuleResourceLoader
java.lang.Object
org.springframework.core.io.DefaultResourceLoader
org.mule.config.spring.MuleResourceLoader
- All Implemented Interfaces:
- org.springframework.core.io.ResourceLoader, org.springframework.core.io.support.ResourcePatternResolver
public class MuleResourceLoader
- extends org.springframework.core.io.DefaultResourceLoader
- implements org.springframework.core.io.support.ResourcePatternResolver
MuleResourceLoader
is a custom Spring resource loader that calls
standard Mule methods for loading resource files.
Fields inherited from interface org.springframework.core.io.support.ResourcePatternResolver |
CLASSPATH_ALL_URL_PREFIX |
Fields inherited from interface org.springframework.core.io.ResourceLoader |
CLASSPATH_URL_PREFIX |
Methods inherited from class org.springframework.core.io.DefaultResourceLoader |
getClassLoader, setClassLoader |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.springframework.core.io.ResourceLoader |
getClassLoader |
logger
protected transient Log logger
MuleResourceLoader
public MuleResourceLoader()
getResource
public org.springframework.core.io.Resource getResource(String rsc)
- Specified by:
getResource
in interface org.springframework.core.io.ResourceLoader
- Overrides:
getResource
in class org.springframework.core.io.DefaultResourceLoader
getResourceByPath
protected org.springframework.core.io.Resource getResourceByPath(String path)
- Overrides:
getResourceByPath
in class org.springframework.core.io.DefaultResourceLoader
getResources
public org.springframework.core.io.Resource[] getResources(String rsc)
throws IOException
- Specified by:
getResources
in interface org.springframework.core.io.support.ResourcePatternResolver
- Throws:
IOException
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.