ClassLoader oldCL = Thread.currentThread().getContextClassLoader();
Thread.currentThread().setContextClassLoader(servletContext.getClassLoader());
if (null != injectionTarget) {
injectionTarget.dispose(instance);
metaData.injectionTarget = null;
}
if (null != creationalContext) {
creationalContext.release();