Package org.grails.core.io
Class PluginPathAwareFileSystemResourceLoader
- java.lang.Object
-
- org.springframework.core.io.DefaultResourceLoader
-
- org.springframework.core.io.FileSystemResourceLoader
-
- org.grails.core.io.PluginPathAwareFileSystemResourceLoader
-
- All Implemented Interfaces:
org.springframework.core.io.ResourceLoader
public class PluginPathAwareFileSystemResourceLoader extends org.springframework.core.io.FileSystemResourceLoaderFileSystemResourceLoader capable of understanding paths to plugins via the ResourceLocator interface- Since:
- 2.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringWEB_APP_DIRECTORY
-
Constructor Summary
Constructors Constructor Description PluginPathAwareFileSystemResourceLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.core.io.ResourcegetResourceByPath(java.lang.String path)voidsetSearchLocations(java.util.Collection<java.lang.String> searchLocations)
-
-
-
Field Detail
-
WEB_APP_DIRECTORY
public static final java.lang.String WEB_APP_DIRECTORY
- See Also:
- Constant Field Values
-
-
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:
getResourceByPathin classorg.springframework.core.io.FileSystemResourceLoader
-
-