Package org.camunda.bpm.engine.impl.util
Class ClassLoaderUtil
java.lang.Object
org.camunda.bpm.engine.impl.util.ClassLoaderUtil
- Direct Known Subclasses:
JakartaClassLoaderUtil
- Author:
- Daniel Meyer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassLoader
getClassloader
(Class<?> clazz) static ClassLoader
static ClassLoader
getServletContextClassloader
(javax.servlet.ServletContextEvent sce) static void
setContextClassloader
(ClassLoader classLoader) static ClassLoader
Switch the current Thread ClassLoader to the ProcessEngine's to assure the loading of the engine classes during job execution.
-
Constructor Details
-
ClassLoaderUtil
public ClassLoaderUtil()
-
-
Method Details
-
getContextClassloader
-
getClassloader
-
setContextClassloader
-
getServletContextClassloader
-
switchToProcessEngineClassloader
Switch the current Thread ClassLoader to the ProcessEngine's to assure the loading of the engine classes during job execution.- Returns:
- the current Thread ClassLoader
-