Class PluginPathAwareFileSystemResourceLoader

  • All Implemented Interfaces:
    org.springframework.core.io.ResourceLoader

    public class PluginPathAwareFileSystemResourceLoader
    extends org.springframework.core.io.FileSystemResourceLoader
    FileSystemResourceLoader capable of understanding paths to plugins via the ResourceLocator interface
    Since:
    2.0
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.springframework.core.io.DefaultResourceLoader

        org.springframework.core.io.DefaultResourceLoader.ClassPathContextResource
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String WEB_APP_DIRECTORY  
      • Fields inherited from interface org.springframework.core.io.ResourceLoader

        CLASSPATH_URL_PREFIX
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.springframework.core.io.Resource getResourceByPath​(java.lang.String path)  
      void setSearchLocations​(java.util.Collection<java.lang.String> searchLocations)  
      • Methods inherited from class org.springframework.core.io.DefaultResourceLoader

        addProtocolResolver, clearResourceCaches, getClassLoader, getProtocolResolvers, getResource, getResourceCache, setClassLoader
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • WEB_APP_DIRECTORY

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

      • PluginPathAwareFileSystemResourceLoader

        public PluginPathAwareFileSystemResourceLoader()
    • Method Detail

      • setSearchLocations

        public void setSearchLocations​(java.util.Collection<java.lang.String> searchLocations)
      • getResourceByPath

        protected org.springframework.core.io.Resource getResourceByPath​(java.lang.String path)
        Overrides:
        getResourceByPath in class org.springframework.core.io.FileSystemResourceLoader