org.springframework.instrument.classloading

## 类 SimpleThrowawayClassLoader

- java.lang.Object
- - java.lang.ClassLoader
  - - org.springframework.core.DecoratingClassLoader
    - - org.springframework.core.OverridingClassLoader
      - - org.springframework.instrument.classloading.SimpleThrowawayClassLoader

-     public class SimpleThrowawayClassLoader
      extends org.springframework.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.
  从以下版本开始:
    2.0
  作者:
    Rod Johnson

- - ### 字段概要

    - ### 从类继承的字段 org.springframework.core.OverridingClassLoader

      `DEFAULT_EXCLUDED_PACKAGES`

  - ### 构造器概要

    构造器
    构造器和说明
    `SimpleThrowawayClassLoader(ClassLoader parent)` Create a new SimpleThrowawayClassLoader for the given ClassLoader.

  - ### 方法概要

    - ### 从类继承的方法 org.springframework.core.OverridingClassLoader

      `isEligibleForOverriding, loadBytesForClass, loadClass, loadClass, loadClassForOverriding, openStreamForClass, transformIfNecessary`

    - ### 从类继承的方法 org.springframework.core.DecoratingClassLoader

      `excludeClass, excludePackage, isExcluded`

    - ### 从类继承的方法 java.lang.ClassLoader

      `clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### SimpleThrowawayClassLoader

          public SimpleThrowawayClassLoader(@Nullable
                                            ClassLoader parent)

      Create a new SimpleThrowawayClassLoader for the given ClassLoader.
      参数:
        `parent` - the ClassLoader to build a throwaway ClassLoader for