Class ProcessApplicationClassloaderInterceptor<T>
- java.lang.Object
-
- org.camunda.bpm.engine.impl.context.ProcessApplicationClassloaderInterceptor<T>
-
- All Implemented Interfaces:
Callable<T>
public class ProcessApplicationClassloaderInterceptor<T> extends Object implements 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(Callable<T> delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description T
call()
static ClassLoader
getProcessApplicationClassLoader()
-