public class ClassLoaderUtil extends Object
Constructor and Description |
---|
ClassLoaderUtil() |
Modifier and Type | Method and Description |
---|---|
static ClassLoader |
getClassloader(Class<?> clazz) |
static ClassLoader |
getContextClassloader() |
static ClassLoader |
getServletContextClassloader(javax.servlet.ServletContextEvent sce) |
static void |
setContextClassloader(ClassLoader classLoader) |
public static ClassLoader getContextClassloader()
public static ClassLoader getClassloader(Class<?> clazz)
public static void setContextClassloader(ClassLoader classLoader)
public static ClassLoader getServletContextClassloader(javax.servlet.ServletContextEvent sce)
Copyright © 2017. All rights reserved.