public class LocalClassLoader
extends java.security.SecureClassLoader
Twister2Job
, Config
and Config.Builder
,
since they should be passed from parent loader to this loaderModifier and Type | Field and Description |
---|---|
java.util.Set<java.lang.String> |
classesToLoad |
java.util.Set<java.lang.String> |
twsClassesToExclude |
java.util.Set<java.lang.String> |
twsPackagesToExclude |
Constructor and Description |
---|
LocalClassLoader(java.lang.ClassLoader parent) |
Modifier and Type | Method and Description |
---|---|
void |
addJobClass(java.lang.String jobClass) |
boolean |
excludedPackage(java.lang.String className) |
java.lang.Class<?> |
loadClass(java.lang.String name) |
defineClass, defineClass, getPermissions
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public java.util.Set<java.lang.String> twsClassesToExclude
public java.util.Set<java.lang.String> twsPackagesToExclude
public java.util.Set<java.lang.String> classesToLoad
public void addJobClass(java.lang.String jobClass)
public boolean excludedPackage(java.lang.String className)
public java.lang.Class<?> loadClass(java.lang.String name) throws java.lang.ClassNotFoundException
loadClass
in class java.lang.ClassLoader
java.lang.ClassNotFoundException