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


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