private final Log logger = LogFactory.getLog(getClass());
@Override
public Object getAutowireValue(DependencyDescriptor descriptor,
ClassLoader classLoader) {
ProxySerializer serializer = new CurrentFacesContextSerializer();
ProxyFactory proxyFactory = new ProxyFactory();
proxyFactory.setTargetSource(new FacesContextTargetSource());
proxyFactory.setProxyTargetClass(true);
ProxySerializerHelper.register(proxyFactory, serializer);
proxyFactory.setFrozen(true);