public ConstructorInjectionBean(final WebBeansContext webBeansContext, final Class<T> returnType, final AnnotatedType<T> at, final Boolean passivationCapable) { super(webBeansContext, WebBeansType.DEPENDENT, at, BeanAttributesBuilder.forContext(webBeansContext).newBeanAttibutes(at).build(), returnType); try { INJECTION_TARGET_FIELD.set(this, new ConstructorInjectionTarget<T>(getAnnotatedType(), getInjectionPoints(), getWebBeansContext())); } catch (final Exception e) { throw new OpenEJBRuntimeException(e); } if (passivationCapable != null) { this.passivationCapable = passivationCapable; } else { this.passivationCapable = super.isPassivationCapable(); } }