public class DirectoryClassLoader extends ClassLoaderBase
IConfigurationClassLoader.ReportLevel
log
CLASSPATH_RESOURCE_SCHEME
Constructor and Description |
---|
DirectoryClassLoader(ClassLoader parent) |
Modifier and Type | Method and Description |
---|---|
void |
configure(IbisContext ibisContext,
String configurationName)
Configure the
IConfigurationClassLoader 's implementation |
protected File |
getDirectory() |
URL |
getLocalResource(String name) |
void |
setDirectory(String directory)
Set the directory from which the configuration files should be loaded
|
String |
toString() |
destroy, getAllowCustomClasses, getBasePath, getConfigurationFile, getConfigurationName, getIbisContext, getReportLevel, getResource, getResource, getResources, loadClass, reload, setAllowCustomClasses, setBasePath, setConfigurationFile, setReportLevel
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResourceAsStream, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public DirectoryClassLoader(ClassLoader parent)
public void configure(IbisContext ibisContext, String configurationName) throws ClassLoaderException
IConfigurationClassLoader
IConfigurationClassLoader
's implementationconfigure
in interface IConfigurationClassLoader
configure
in class ClassLoaderBase
ClassLoaderException
- when the IConfigurationClassLoader
's implementation cannot retrieve or load the configuration filespublic void setDirectory(String directory) throws ClassLoaderException
ClassLoaderException
- if the directory can't be foundprotected File getDirectory()
public URL getLocalResource(String name)
getLocalResource
in class ClassLoaderBase
name
- of the file to search for in the current local classpathNULL
when the file cannot be foundpublic String toString()
toString
in class ClassLoaderBase
Copyright © 2023 Frank!Framework. All rights reserved.