Class WebAppClassLoader
java.lang.Object
java.lang.ClassLoader
org.frankframework.configuration.classloaders.AbstractClassLoader
org.frankframework.configuration.classloaders.WebAppClassLoader
- All Implemented Interfaces:
IConfigurationClassLoader,org.springframework.core.SmartClassLoader
Default IBIS Configuration ClassLoader.
- Author:
- Niels Meijer
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.frankframework.configuration.classloaders.IConfigurationClassLoader
IConfigurationClassLoader.ReportLevel -
Field Summary
Fields inherited from class org.frankframework.configuration.classloaders.AbstractClassLoader
logFields inherited from interface org.frankframework.configuration.classloaders.IConfigurationClassLoader
CLASSPATH_RESOURCE_SCHEME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanAlways allow all classes from the deployed webapp.getLocalResource(String name) The name that's being requested should only contain the BasePath of the configuration when set.Methods inherited from class org.frankframework.configuration.classloaders.AbstractClassLoader
configure, destroy, getBasePath, getConfigurationFile, getConfigurationName, getIbisManager, getReportLevel, getResource, getResource, getResources, loadClass, publicDefineClass, reload, setAllowCustomClasses, setBasePath, setConfigurationFile, setReportLevel, toStringMethods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findClass, findLibrary, findLoadedClass, findResource, findResource, findResources, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResourceAsStream, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.core.SmartClassLoader
getOriginalClassLoader, isClassReloadable
-
Constructor Details
-
WebAppClassLoader
-
-
Method Details
-
getLocalResource
The name that's being requested should only contain the BasePath of the configuration when set. TheWebAppClassLoaderdoes 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:
getLocalResourcein classAbstractClassLoader- 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
nullwhen the file cannot be found
-
getAllowCustomClasses
protected boolean getAllowCustomClasses()Always allow all classes from the deployed webapp.- Overrides:
getAllowCustomClassesin classAbstractClassLoader
-