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) |
static ClassLoader |
switchToProcessEngineClassloader()
Switch the current Thread ClassLoader to the ProcessEngine's
to assure the loading of the engine classes during job execution.
|
public static ClassLoader getContextClassloader()
public static ClassLoader getClassloader(Class<?> clazz)
public static void setContextClassloader(ClassLoader classLoader)
public static ClassLoader getServletContextClassloader(javax.servlet.ServletContextEvent sce)
public static ClassLoader switchToProcessEngineClassloader()
Copyright © 2022. All rights reserved.