Wrt to CDI spec section "6.6.5. Validation of passivation capable beans and dependencies" there is only passivation capable validation for field injectionPoint. This validation should work also for setter and constructor injection. This is reproducible by TCK test: org.jboss.cdi.tck.tests.context.passivating.broken.producer.field.dependent.EnterpriseBeanWithIllegalDependencyTest
|