Class DefaultResourceLocator


  • public class DefaultResourceLocator
    extends ResourceLocator
    The default resource locator. Locates resources using the current context class loader. Can be easily subclassed by overriding getResourceClassLoader() in order to return an appropriate class loader.
    • Field Detail

      • LOG

        public static final Logger LOG
    • Constructor Detail

      • DefaultResourceLocator

        public DefaultResourceLocator()
    • Method Detail

      • getResourceClassLoader

        protected ClassLoader getResourceClassLoader()
        The default implementation returns the context class loader.
        Returns:
        the class loader used to load resources.