public ProducerAwareInjectionTargetBean(WebBeansContext webBeansContext, WebBeansType webBeansType, BeanAttributes<T> beanAttributes, Class<?> beanClass, boolean nullable, ProducerFactory<?> factory) { super(webBeansContext, webBeansType, beanAttributes, beanClass, nullable); this.producer = factory.createProducer(this); String id = super.getId(); if (id != null) { passivatingId = "ProvidedProducer" + id + ",factory=" + factory.hashCode(); } }
return ((AbstractOwbBean<?>)contextual).getId();