Class ClassLoaderFactory
java.lang.Object
org.frankframework.configuration.ClassLoaderFactory
Loads a ClassLoader on a per Configuration basis. It is possible to specify the ClassLoader type and to make
ClassLoaders inherit each other. If no ClassLoader is specified the WebAppClassLoader is used, which will
first try to search for resources on the basepath and then the webapp and classpath.
- Author:
- Niels Meijer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable ClassLoadercreateClassLoader(@NonNull String configurationName, @Nullable Class<? extends ClassLoader> defaultClassLoaderType, @Nullable Configuration parentConfiguration) voidshutdown()Removes all created ClassLoaders
-
Field Details
-
CLASSLOADER_PACKAGE_LOCATION
- See Also:
-
-
Constructor Details
-
ClassLoaderFactory
-
-
Method Details
-
createClassLoader
public @Nullable ClassLoader createClassLoader(@NonNull String configurationName, @Nullable Class<? extends ClassLoader> defaultClassLoaderType, @Nullable Configuration parentConfiguration) throws ClassLoaderException - Throws:
ClassLoaderException
-
shutdown
public void shutdown()Removes all created ClassLoaders
-