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

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 11.0.0.Beta1
    • Fix Version/s: None
    • Component/s: CDI / Weld
    • Labels:
      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

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

                Dates

                Created:
                Updated: