Package io.kestra.core.contexts
Class KestraClassLoader
java.lang.Object
java.lang.ClassLoader
io.kestra.core.contexts.KestraClassLoader
Ugly
ClassLoader that will use PluginRegistry declared class, if found, it will use the
ClassLoader from the plugin, else use standard ClassLoader-
Method Summary
Modifier and TypeMethodDescriptionstatic KestraClassLoadercreate(ClassLoader classLoader) static KestraClassLoaderinstance()static booleanisInit()protected Class<?>voidsetPluginRegistry(PluginRegistry registry) Methods 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, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
Method Details
-
create
-
isInit
public static boolean isInit() -
instance
-
getPluginRegistry
-
setPluginRegistry
-
loadClass
- Overrides:
loadClassin classClassLoader- Throws:
ClassNotFoundException
-