Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-98

Check ManagedBean Public Field

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • M2
    • M4
    • Simple Web Beans
    • None

    Description

      If a managed bean has a public field, it must have scope @Dependent. If a managed bean with a public field declares any
      scope other than @Dependent, the container automatically detects the problem and treats it as a definition error, as defined
      in Section 12.4, "Problems detected automatically by the container".

      Attachments

        Activity

          People

            gerdogdu Gurkan Erdogdu
            gerdogdu Gurkan Erdogdu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: