类 SimpleThrowawayClassLoader
java.lang.Object
java.lang.ClassLoader
cn.taketoday.core.DecoratingClassLoader
cn.taketoday.core.OverridingClassLoader
cn.taketoday.instrument.SimpleThrowawayClassLoader
public class SimpleThrowawayClassLoader
extends cn.taketoday.core.OverridingClassLoader
ClassLoader that can be used to load classes without bringing them
into the parent loader. Intended to support JPA "temp class loader"
requirement, but not JPA-specific.
- 从以下版本开始:
- 4.0
- 作者:
- Rod Johnson
-
字段概要
从类继承的字段 cn.taketoday.core.OverridingClassLoader
DEFAULT_EXCLUDED_PACKAGES -
构造器概要
构造器构造器说明Create a new SimpleThrowawayClassLoader for the given ClassLoader. -
方法概要
从类继承的方法 cn.taketoday.core.OverridingClassLoader
isEligibleForOverriding, loadBytesForClass, loadClass, loadClass, loadClassForOverriding, openStreamForClass, transformIfNecessary从类继承的方法 cn.taketoday.core.DecoratingClassLoader
excludeClass, excludePackage, isExcluded从类继承的方法 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, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
构造器详细资料
-
SimpleThrowawayClassLoader
Create a new SimpleThrowawayClassLoader for the given ClassLoader.- 参数:
parent- the ClassLoader to build a throwaway ClassLoader for
-