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

Clarify contextual reference validity to a bean with a normal scope in Java SE

    XMLWordPrintable

Details

    • Clarification
    • Resolution: Done
    • Major
    • 2.0 .Final
    • None
    • None
    • None

    Description

      In Java SE, a user might be tempted to share a contextual reference for a normal scoped bean (client proxy) between multiple "deployments" of a single application, e.g.:

      1. start CDI container
      2. get a reference
      3. stop CDI container
      4. start CDI container again and try to use the stored reference.

      I believe such a reference should not be valid after an application stopped (contexts are destroyed, etc.). Right now, it seems to be undefined.

      See also WELD-2190.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: