Class ProcessApplicationClassloaderInterceptor<T>
- java.lang.Object
-
- org.camunda.bpm.engine.impl.context.ProcessApplicationClassloaderInterceptor<T>
-
- All Implemented Interfaces:
java.util.concurrent.Callable<T>
public class ProcessApplicationClassloaderInterceptor<T> extends java.lang.Object implements java.util.concurrent.Callable<T>
Wrapps the user-providedCallable
and records the Thread Context Classloader after the context switch has been performed. This allows detecting if the Thread Context has been manipulated by the container after that (Usually due to cross application EJB invocations).- Author:
- Daniel Meyer
-
-
Constructor Summary
Constructors Constructor Description ProcessApplicationClassloaderInterceptor(java.util.concurrent.Callable<T> delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description T
call()
static java.lang.ClassLoader
getProcessApplicationClassLoader()
-