Class 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
    • Field Detail

    • Constructor Detail

      • ProcessApplicationClassloaderInterceptor

        public ProcessApplicationClassloaderInterceptor​(Callable<T> delegate)