org.apache.logging.log4j.util
Class LoaderUtil
java.lang.Object
org.apache.logging.log4j.util.LoaderUtil
public final class LoaderUtil
- extends Object
Consider this class private. Utility class for ClassLoaders.
- See Also:
ClassLoader
,
Thread.getContextClassLoader()
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getThreadContextClassLoader
public static ClassLoader getThreadContextClassLoader()
- Gets the current Thread ClassLoader. Returns the system ClassLoader if the TCCL is
null
.
- Returns:
- the current ThreadContextClassLoader.
Copyright © 1999-2014 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.