org.camunda.bpm.engine.impl.context
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-provided Callable 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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
delegate
protected Callable<T> delegate
ProcessApplicationClassloaderInterceptor
public ProcessApplicationClassloaderInterceptor(Callable<T> delegate)
call
public T call()
throws Exception
- Specified by:
call in interface Callable<T>
- Throws:
Exception
getProcessApplicationClassLoader
public static ClassLoader getProcessApplicationClassLoader()
Copyright © 2016 camunda services GmbH. All rights reserved.