Class WebAppClassLoader

All Implemented Interfaces:
IConfigurationClassLoader, org.springframework.core.SmartClassLoader

public class WebAppClassLoader extends AbstractClassLoader
Default IBIS Configuration ClassLoader.
Author:
Niels Meijer
  • Constructor Details

    • WebAppClassLoader

      public WebAppClassLoader(ClassLoader parent)
  • Method Details

    • getLocalResource

      public URL getLocalResource(String name)
      The name that's being requested should only contain the BasePath of the configuration when set. The WebAppClassLoader does not contain any further logic and must always search for the resource with BasePath in it's parent (the ClassPath or another ClassLoader).
      Specified by:
      getLocalResource in class AbstractClassLoader
      Parameters:
      name - of the file to search for in the current local classpath
      Returns:
      the URL of the file if found in the ClassLoader or null when the file cannot be found
    • getAllowCustomClasses

      protected boolean getAllowCustomClasses()
      Overrides:
      getAllowCustomClasses in class AbstractClassLoader