Details

    • Type: Clarification
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 1.2.Final
    • Fix Version/s: 2.0 .Final
    • Component/s: Concepts
    • Labels:
      None
    • Environment:

      n/a

    • Sprint:
      Sprint 1

      Description

      An injection point declared as 'transient' is not useful, due to the fact of after bean's passivation, the transient field will not be reinjected and its value will be lost. This causes confusion. See Weld forum discussion link title. In the section 5.5.7, how about to make the following changes?

      The isTransient() method returns true if the injection point is a transient field, and
      false otherwise. If the injection point represents a dynamically obtained instance then the
      isTransient() method returns true if the Instance injection point is a transient field, and
      false otherwise.

      =>
      The isTransient() method returns true if the injection point is a transient field, and
      false otherwise. If the injection point represents a dynamically obtained instance then the
      isTransient() method returns true if the Instance injection point is a transient field, and
      false otherwise. If this injection point is declared as transient, after bean's passivation, the value will not be restored. Instance injection point is the preferred approach.

      Any other better suggestions?

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  emilyj Emily Jiang
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: