Class AbstractBytesClassLoader
java.lang.Object
java.lang.ClassLoader
org.frankframework.configuration.classloaders.AbstractClassLoader
org.frankframework.configuration.classloaders.AbstractBytesClassLoader
- All Implemented Interfaces:
IConfigurationClassLoader, org.springframework.beans.factory.DisposableBean, org.springframework.core.SmartClassLoader
- Direct Known Subclasses:
AbstractJarBytesClassLoader
-
Nested Class Summary
Nested classes/interfaces inherited from interface IConfigurationClassLoader
IConfigurationClassLoader.ReportLevel -
Field Summary
Fields inherited from class AbstractClassLoader
logFields inherited from interface IConfigurationClassLoader
CLASSPATH_RESOURCE_SCHEME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidClears all resourcesfinal voidconfigure(@Nullable IbisContext ibisContext, @NonNull String configurationName) Configure theIConfigurationClassLoader's implementationfinal voiddestroy()final URLgetLocalResource(@NonNull String name) Called during a reload for a green/blue deployment, and after the classloader has been configured to load new resourcesMethods inherited from class AbstractClassLoader
getAllowCustomClasses, getBasePath, getConfigurationFile, getConfigurationName, getIbisManager, getReportLevel, getResource, getResource, getResources, loadClass, publicDefineClass, setAllowCustomClasses, setBasePath, setConfigurationFile, setReportLevel, toStringMethods inherited from class 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.core.SmartClassLoader
getOriginalClassLoader, isClassReloadable
-
Constructor Details
-
AbstractBytesClassLoader
-
-
Method Details
-
configure
public final void configure(@Nullable IbisContext ibisContext, @NonNull String configurationName) throws ClassLoaderException Description copied from interface:IConfigurationClassLoaderConfigure theIConfigurationClassLoader's implementation- Specified by:
configurein interfaceIConfigurationClassLoader- Overrides:
configurein classAbstractClassLoader- Throws:
ClassLoaderException- when theIConfigurationClassLoader's implementation cannot retrieve or load the configuration files
-
getLocalResource
- 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
-
destroy
public final void destroy()- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean- Overrides:
destroyin classAbstractClassLoader
-
loadResources
Called during a reload for a green/blue deployment, and after the classloader has been configured to load new resources- Throws:
ClassLoaderException
-
clearResources
public final void clearResources()Clears all resources
-