Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-398

BeanProvider handling for @Dependent scoped beans

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.4
    • 0.5
    • Core
    • None

    Description

      BeanProvider#getContextualReference complains if you create a @Dependent scoped bean. The reason for this is that those beans shall get destroyed manually to provide proper clean up.

      We should provide methods which return a helper class which internally keep the contextual instance and the CreationalContext for it and a get() plus a release() method.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: