Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-1320

@PreDestroy method not called for @Dependent beans (using Instance)

XMLWordPrintable

      A dependent bean contains @PostConstruct and @PreDestroy annotated methods and is injected using Instance<DependentBean> into a MasterBean.
      During iteration over the available instances it can be observed that the postConstruct method is invoked but not the preDestroy method.

              mkouba@redhat.com Martin Kouba
              dirk-mahler Dirk Mahler (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: