]
John Ament updated CDI-457:
---------------------------
Summary: Allow producers to provide a @TransientReference (was: Add a disposable
interface)
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
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.