instances.put(decorator, decoratorInstance);
delegate = proxyFactory.createProxyInstance(proxyClass, instance,
new DecoratorHandler(interceptorInfo, decorators, instances, i - 1, instance, passivationId));
}
}
InterceptorHandler interceptorHandler = new DefaultInterceptorHandler<T>(instance, delegate, methodInterceptors, interceptorInstances, passivationId);
T proxyInstance = proxyFactory.createProxyInstance(proxyClass, instance, interceptorHandler);
instance = proxyInstance;
creationalContextImpl.putContextual(oldContextual);
}