public interface ContextClassLoaderFactory
Classes.getContextClassLoader(Class)
and Classes.getContextClassLoaderForName(String)
Modifier and Type | Method and Description |
---|---|
java.lang.ClassLoader |
getContextClassLoader(java.lang.Class<?> reference)
Returns the context ClassLoader for the reference class.
|
java.lang.ClassLoader |
getContextClassLoaderForName(java.lang.String className)
Returns the context ClassLoader for a class name.
|
java.lang.ClassLoader getContextClassLoader(java.lang.Class<?> reference)
reference
- the reference class where it is invoked from.java.lang.ClassLoader getContextClassLoaderForName(java.lang.String className)
className
- the reference class name where it is invoked from.Copyright © 2005-2021 Potix Corporation. All Rights Reserved.