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

Add validation of contextuals passed to a context object for a passivating scope

    XMLWordPrintable

Details

    • Clarification
    • Resolution: Obsolete
    • Major
    • None
    • None
    • None
    • None

    Description

      6.6.1 Passivation capable beans:

      An implementation of Contextual that is not a bean is passivation capable if it implements both PassivationCapable and Serializable.

      6.6.4 Passivating scopes

      A passivating scope requires that implementations of Contextual passed to any context object for the scope are passivation capable.

      Theoretically an implementation of Contextual that is not a bean may be passed to a context object of a passivating scope (e.g. @SessionScoped). The spec should specify what happens then. Apparently the container should detect the problem and treat it as a deployment problem.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mkouba@redhat.com Martin Kouba
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: