Package org.frankframework.larva.actions
Class RelativePathDirectoryClassLoader
java.lang.Object
java.lang.ClassLoader
org.frankframework.configuration.classloaders.AbstractClassLoader
org.frankframework.configuration.classloaders.DirectoryClassLoader
org.frankframework.larva.actions.RelativePathDirectoryClassLoader
- All Implemented Interfaces:
IConfigurationClassLoader,org.springframework.core.SmartClassLoader
First searches to the Scenario root directory
Then attempts relative paths (to the scenario root directory)
Then delegates to it's parent
-
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 TypeMethodDescriptiongetResource(String name, boolean useParent) In case of theAbstractClassLoader.getResources(String)we only want the local paths and not the parent pathMethods inherited from class org.frankframework.configuration.classloaders.DirectoryClassLoader
configure, getAllowCustomClasses, getDirectory, getLocalResource, setDirectory, toStringMethods inherited from class org.frankframework.configuration.classloaders.AbstractClassLoader
destroy, getBasePath, getConfigurationFile, getConfigurationName, getIbisManager, getReportLevel, getResource, getResources, loadClass, publicDefineClass, reload, setAllowCustomClasses, setBasePath, setConfigurationFile, setReportLevelMethods 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
-
RelativePathDirectoryClassLoader
public RelativePathDirectoryClassLoader()
-
-
Method Details
-
getResource
Description copied from class:AbstractClassLoaderIn case of theAbstractClassLoader.getResources(String)we only want the local paths and not the parent path- Overrides:
getResourcein classAbstractClassLoader- Parameters:
name- of the file to retrieveuseParent- only use local classpath or also traverse down the classpath- Returns:
- the URL of the file if found in the ClassLoader or
null
-