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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassLoadergetClassloader(Class<?> clazz) static ClassLoaderstatic ClassLoadergetServletContextClassloader(javax.servlet.ServletContextEvent sce) static voidsetContextClassloader(ClassLoader classLoader) static ClassLoaderSwitch 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
-