[cdi-dev] [JBoss JIRA] (CDI-457) Clarify how to properly create and destroy dependent instances
Martin Kouba (JIRA)
issues at jboss.org
Wed May 4 01:32:00 EDT 2016
[ https://issues.jboss.org/browse/CDI-457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13200650#comment-13200650 ]
Martin Kouba commented on CDI-457:
----------------------------------
[~meetoblivion] Please don't change the description of an issue if the discussion already started - this makes the discussion less understandable.
And no, {{@TransientReference}} can be only applied to a parameter injection point - @Dependent scoped contextual instances injected into this parameters is destroyed when the invocation completes.
> Clarify how to properly create and destroy dependent instances
> --------------------------------------------------------------
>
> 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