Package org.pentaho.di.core.plugins
Class KettleURLClassLoader
java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
org.pentaho.di.core.plugins.KettleURLClassLoader
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Direct Known Subclasses:
KettleSelectiveParentFirstClassLoader
-
Constructor Summary
ConstructorDescriptionKettleURLClassLoader
(URL[] url, ClassLoader classLoader) KettleURLClassLoader
(URL[] url, ClassLoader classLoader, String name) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
This method is designed to shutdown out classloader file locks in windows.getName()
getResource
(String name) protected Class<?>
Class<?>
loadClass
(String name, ProtectionDomain protectionDomain) protected Class<?>
loadClassFromParent
(String arg0, boolean arg1) protected Class<?>
loadClassFromThisLoader
(String arg0, boolean arg1) void
toString()
Methods inherited from class java.net.URLClassLoader
close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
Methods inherited from class java.security.SecureClassLoader
defineClass, defineClass
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getPackage, getPackages, getParent, getPlatformClassLoader, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
Constructor Details
-
KettleURLClassLoader
-
KettleURLClassLoader
-
-
Method Details
-
addURL
- Overrides:
addURL
in classURLClassLoader
-
toString
-
setName
-
getName
- Overrides:
getName
in classClassLoader
-
loadClassFromThisLoader
- Throws:
ClassNotFoundException
-
loadClassFromParent
- Throws:
ClassNotFoundException
-
loadClass
- Overrides:
loadClass
in classClassLoader
- Throws:
ClassNotFoundException
-
loadClass
-
closeClassLoader
public void closeClassLoader()This method is designed to shutdown out classloader file locks in windows. -
getResource
- Overrides:
getResource
in classClassLoader
-