[cdi-dev] [JBoss JIRA] (CDI-103) Support client controlled contexts
Pete Muir (JIRA)
jira-events at lists.jboss.org
Tue Sep 4 12:18:33 EDT 2012
[ https://issues.jboss.org/browse/CDI-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715831#comment-12715831 ]
Pete Muir commented on CDI-103:
-------------------------------
Slipping Java SE issues, we don't have time or scope in CDI 1.1 to address them.
> Support client controlled contexts
> ----------------------------------
>
> Key: CDI-103
> URL: https://issues.jboss.org/browse/CDI-103
> Project: CDI Specification Issues
> Issue Type: Feature Request
> Components: Contexts
> Reporter: Pete Muir
> Fix For: 1.1 (Proposed)
>
>
> In a client controlled context, the client controls via some identifier (probably an identifier, but we should allow the context to inspect the injection point) which contextual instances it sees for a particular bean type. For example given:
> {code}
> @MyScope
> class Foo {
> String name;
> }
> {code}
> and a context which uses annotations to differentiate between contextual instance, these two injection points would see different instances:
> {code}
> @Inject @Bar Foo barFoo;
> @Inject @Baz Foo bazFoo;
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the cdi-dev
mailing list