Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-314

CDIInjectionEnricher does not release the creationalContext

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.0.0.CR1
    • 1.0.0.Alpha4
    • Weld Containers
    • None
    • Hide

      Inject an @Dependent object that is produced, and ensure it's disposer is called when the test case is complete.

      Show
      Inject an @Dependent object that is produced, and ensure it's disposer is called when the test case is complete.
    • Hide

      Don't inject @Dependent objects.

      Show
      Don't inject @Dependent objects.

    Description

      In order for Weld to properly clean up injected dependent objects (such as calling the @PreDestroy or @Disposes method), it is important that creationalContext.release() is called when the scope of the test ends.

      Attachments

        Activity

          People

            aslak@redhat.com Aslak Knutsen
            pmuiratbleepbleep Pete Muir (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: