Class ClassLoaderUtil

java.lang.Object
org.camunda.bpm.engine.impl.util.ClassLoaderUtil
Direct Known Subclasses:
JakartaClassLoaderUtil

public class ClassLoaderUtil extends Object
Author:
Daniel Meyer
  • Constructor Details

    • ClassLoaderUtil

      public ClassLoaderUtil()
  • Method Details

    • getContextClassloader

      public static ClassLoader getContextClassloader()
    • getClassloader

      public static ClassLoader getClassloader(Class<?> clazz)
    • setContextClassloader

      public static void setContextClassloader(ClassLoader classLoader)
    • getServletContextClassloader

      public static ClassLoader getServletContextClassloader(javax.servlet.ServletContextEvent sce)
    • switchToProcessEngineClassloader

      public static ClassLoader 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