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 |
Method Summary |
org.springframework.core.io.Resource |
getResource(java.lang.String rsc)
|
protected org.springframework.core.io.Resource |
getResourceByPath(java.lang.String path)
|
org.springframework.core.io.Resource[] |
getResources(java.lang.String rsc)
|
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(java.lang.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(java.lang.String path)
- Overrides:
getResourceByPath
in class org.springframework.core.io.DefaultResourceLoader
getResources
public org.springframework.core.io.Resource[] getResources(java.lang.String rsc)
throws java.io.IOException
- Specified by:
getResources
in interface org.springframework.core.io.support.ResourcePatternResolver
- Throws:
java.io.IOException
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.