public class DummyClassLoader extends ClassLoaderBase
Ordinarily only used for local testing. When head IBIS application and Configuration(s) to load are stored in separate projects, the DummyClassLoader can be used in the head IBIS application to prevent a "could not find config" exception.
IConfigurationClassLoader.ReportLevel
log
CLASSPATH_RESOURCE_SCHEME
Constructor and Description |
---|
DummyClassLoader(ClassLoader parent) |
Modifier and Type | Method and Description |
---|---|
void |
configure(IbisContext ibisContext,
String configurationName)
Configure the
IConfigurationClassLoader 's implementation |
URL |
getLocalResource(String name) |
destroy, getAllowCustomClasses, getBasePath, getConfigurationFile, getConfigurationName, getIbisContext, getReportLevel, getResource, getResource, getResources, loadClass, reload, setAllowCustomClasses, setBasePath, setConfigurationFile, setReportLevel, toString
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 DummyClassLoader(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 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 foundCopyright © 2023 Frank!Framework. All rights reserved.