thread contextClassLoader

通过Thread.getContextClassLoader().loadClass("classname")载入类主要用在多线程应用中。

Many enterprise application libraries assume that all of the types and resources that comprise the application
are accessible through the context class loader. While most developers do not use the context class loader, the
loader is used heavily by application servers, containers or applications that are multi-threaded.

你可能感兴趣的:(thread,多线程)