类 SimpleThrowawayClassLoader


  • @UsesJava7
    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.
    从以下版本开始:
    2.0
    作者:
    Rod Johnson
    • 构造器详细资料

      • SimpleThrowawayClassLoader

        public SimpleThrowawayClassLoader​(ClassLoader parent)
        Create a new SimpleThrowawayClassLoader for the given ClassLoader.
        参数:
        parent - the ClassLoader to build a throwaway ClassLoader for