Uploaded image for project: 'CDI Specification Issues'
  1. CDI Specification Issues
  2. CDI-286

Inconsistencies in chapter "Validation of passivation capable beans and dependencies"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.1.PFD
    • 1.1.PRD
    • None
    • None

      The spec states in 6.6.4. "Validation of passivation capable beans and dependencies":

      If a bean which declares a passivating scope type, or any stateful session bean, has a decorator or interceptor which is not a
      passivation capable dependency, the container automatically detects the problem and treats it as a deployment problem.

      WRT CDI-136 "If a bean which declares a passivating scope type, or any stateful session bean," should be replaced with: "If a managed bean or stateful session bean which declares a passivating scope".

      I'm not sure about the wording "has a decorator or interceptor which is not a passivation capable dependency" because the wording in section 6.6.1. "Passivation capable beans" is "interceptors and decorators of the bean are passivation capable" (passivation capable dependency vs passivation capable).

              pmuiratbleepbleep Pete Muir (Inactive)
              mkouba@redhat.com Martin Kouba
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: