Class CommandLineResourceLoader

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

    public class CommandLineResourceLoader
    extends org.springframework.core.io.DefaultResourceLoader
    Loads locations starting with /WEB-INF from the Grails web-app directory.
    Since:
    1.0
    • Nested Class Summary

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

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

      • 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
      org.springframework.core.io.Resource getResource​(java.lang.String location)  
      • Methods inherited from class org.springframework.core.io.DefaultResourceLoader

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

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

      • CommandLineResourceLoader

        public CommandLineResourceLoader()
    • Method Detail

      • getResource

        public org.springframework.core.io.Resource getResource​(java.lang.String location)
        Specified by:
        getResource in interface org.springframework.core.io.ResourceLoader
        Overrides:
        getResource in class org.springframework.core.io.DefaultResourceLoader