[cdi-dev] [JBoss JIRA] (CDI-457) Allow producers to provide a @TransientReference

John Ament (JIRA) issues at jboss.org
Tue May 3 13:27:00 EDT 2016


     [ https://issues.jboss.org/browse/CDI-457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Ament updated CDI-457:
---------------------------
    Description: 
Using @TransientReference today for class definitions allows you to mark it as dependent.

We should allow arbitrary producers to include transient references.

  was:
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.



> Allow producers to provide a @TransientReference
> ------------------------------------------------
>
>                 Key: CDI-457
>                 URL: https://issues.jboss.org/browse/CDI-457
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>          Components: Contexts
>            Reporter: John Ament
>            Assignee: John Ament
>
> Using @TransientReference today for class definitions allows you to mark it as dependent.
> We should allow arbitrary producers to include transient references.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the cdi-dev mailing list