- All Implemented Interfaces:
- org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware
public class ThreadContextClassLoaderSetterAdvice
extends java.lang.Object
implements org.aopalliance.intercept.MethodInterceptor, org.springframework.beans.factory.BeanClassLoaderAware
An advice that will set the thread context ClassLoader
to the
enclosing ApplicationContext's class loader
before invocation and reset
it afterwards.
- Author:
- Eric Bottard