com.googlecode.xremoting.core.utils
Class ClassLoaderUtils
java.lang.Object
com.googlecode.xremoting.core.utils.ClassLoaderUtils
public class ClassLoaderUtils
- extends Object
Utilities which help working with classloaders.
- Author:
- Roman Puchkovskiy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassLoaderUtils
public ClassLoaderUtils()
getDefaultClassLoader
public static ClassLoader getDefaultClassLoader(Class<?> clazz)
- Determines the 'default' classloader. That is context class loader, if
defined, or else classloader which loaded the given class.
- Parameters:
clazz - to which classloader to fall back
- Returns:
- classloader
Copyright © 2013. All Rights Reserved.