[cdi-dev] [JBoss JIRA] Commented: (CDI-14) Add instance() method to BeanManager

Richard Hightower (JIRA) jira-events at lists.jboss.org
Wed May 11 12:55:18 EDT 2011


    [ https://issues.jboss.org/browse/CDI-14?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12601433#comment-12601433 ] 

Richard Hightower commented on CDI-14:
--------------------------------------

RE: a) you were looking in the wrong place

Wouldn't be the first time. :)

RE: b) the spec did a very very bad job of showing you the right place to look (actually it showed you the wrong place!)

I think the issue is that the BeanManager is the "thing" you look up in JNDI. The thing you look up in JNDI is usually the interface that end users deal with not an internal API. That said I looked at it with a "Spring perspective" because that is what I have been dealing with for the past 9 years or so.



> Add instance() method to BeanManager
> ------------------------------------
>
>                 Key: CDI-14
>                 URL: https://issues.jboss.org/browse/CDI-14
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>          Components: Resolution
>    Affects Versions: 1.0
>            Reporter: Pete Muir
>             Fix For: 1.1 (Proposed)
>
>
> Currently obtaining a contextual reference is quite a complex operation, adding a method like:
> Instance<Object> instance();
> would make it much easier.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the cdi-dev mailing list