Class WebAppClassLoader

java.lang.Object
java.lang.ClassLoader
org.frankframework.configuration.classloaders.ClassLoaderBase
org.frankframework.configuration.classloaders.WebAppClassLoader
All Implemented Interfaces:
IConfigurationClassLoader, org.springframework.core.SmartClassLoader

public class WebAppClassLoader extends ClassLoaderBase
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 ClassLoaderBase
      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 ClassLoaderBase