Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-9234

@Dependent bean instance created through javax.enterprise.inject.spi.CDI not always destroyed during shutdown

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 11.0.0.Beta1
    • CDI / Weld
    • None

    Description

      Doing CDI.current().select(MyDependentBean.class) gives you a bean which might not always be correctly destroyed on shutdown.

      The spec does not clearly state what should happen with these instances but it makes sense to properly dispose of them on shutdown. See WELD-2413 for background information.

      Attachments

        Issue Links

          Activity

            People

              manovotn Matěj Novotný
              manovotn Matěj Novotný
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: