[ 
https://issues.apache.org/jira/browse/DELTASPIKE-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Łukasz Dywicki resolved DELTASPIKE-151.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.2-incubating

Issue was fixed by new method getBeanDefinitions added to BeanProvider during 
work on DELTASPIKE-158.
                
> Provide lookup method with Map result
> -------------------------------------
>
>                 Key: DELTASPIKE-151
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-151
>             Project: DeltaSpike
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.2-incubating
>            Reporter: Łukasz Dywicki
>            Assignee: Gerhard Petracek
>             Fix For: 0.2-incubating
>
>         Attachments: DELTASPIKE-151.diff
>
>
> Currently BeanProvider do not support lookups with Map result. In my case I 
> create a adapter from Camel registry object to CDI bean registry. Camel uses 
> different kind of lookups when needed:
> - by name (when type is unknown)
> - by type (for one instance)
> - by name and type
> - by type, with names
> Second operation is used to collect for example all instances of given type 
> (all Endpoint, Tracer implementations registered). Names are then used to get 
> returned instances in correct places. Camel is container agnostic so we 
> cannot rely on CDI features in all places.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to