[cdi-dev] [JBoss JIRA] (CDI-457) Add a disposable interface

John Ament (JIRA) issues at jboss.org
Thu Sep 4 12:58:59 EDT 2014

John Ament created CDI-457:

             Summary: Add a disposable interface
                 Key: CDI-457
                 URL: https://issues.jboss.org/browse/CDI-457
             Project: CDI Specification Issues
          Issue Type: Feature Request
          Components: Contexts
            Reporter: John Ament

Currently for Dependent scoped beans, there's no way for the container to be aware when it's no longer needed.

I suggest that we somehow wrap dependent beans in a Disposable wrapper to be notified when it's not needed any longer.

This message was sent by Atlassian JIRA

More information about the cdi-dev mailing list