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

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

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.1.PRD
    • Fix Version/s: 1.1.PFD
    • Component/s: None
    • Labels:
      None

      Description

      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).

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pmuir Pete Muir
                  Reporter:
                  mkouba Martin Kouba
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: