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

Split ApplicationContext destroyal for custom beans and CDI internal beans like Extensions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.6.0
    • Context and Scopes
    • None

    Description

      The ApplicationContext must be shut down before the BeforeBeanDiscovery extension event. But otoh all internal beans and Extensions iteslf are defined as being @ApplicationScoped.

      To solve this problem we need to have the Context#destroy() method only destroy custom beans. Additionally I will introduce a new method ApplicationContext#destroySystemBeans which finally also destroys Extensions, etc.

      Attachments

        Activity

          People

            struberg Mark Struberg
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: