站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.1.0 API 文档英文版

SimpleThrowawayClassLoader (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


The Spring Framework

org.springframework.instrument.classloading
Class SimpleThrowawayClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by org.springframework.core.OverridingClassLoader
          extended by org.springframework.instrument.classloading.SimpleThrowawayClassLoader

public class SimpleThrowawayClassLoader
extends 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.

Since:
2.0
Author:
Rod Johnson

Constructor Summary
SimpleThrowawayClassLoader(ClassLoader parent)
          Create a new SimpleThrowawayClassLoader for the given class loader.
 
Method Summary
 
Methods inherited from class org.springframework.core.OverridingClassLoader
excludeClass, excludePackage, isEligibleForOverriding, loadClass, transformIfNecessary
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleThrowawayClassLoader

public SimpleThrowawayClassLoader(ClassLoader parent)
Create a new SimpleThrowawayClassLoader for the given class loader.

Parameters:
parent - the ClassLoader to build a throwaway ClassLoader for

The Spring Framework

Copyright © 2002-2007 The Spring Framework.