Class ThreadClassLoaderScope

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class ThreadClassLoaderScope
    extends java.lang.Object
    implements java.io.Closeable
    • Constructor Summary

      Constructors 
      Constructor Description
      ThreadClassLoaderScope​(java.lang.ClassLoader cl)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      java.lang.ClassLoader getScopedClassLoader()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ThreadClassLoaderScope

        public ThreadClassLoaderScope​(java.lang.ClassLoader cl)
    • Method Detail

      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
      • getScopedClassLoader

        public java.lang.ClassLoader getScopedClassLoader()