Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-151

Provide lookup method with Map result

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.2-incubating
    • 0.2-incubating
    • Core
    • None

    Description

      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.

      Attachments

        1. DELTASPIKE-151.diff
          3 kB
          Łukasz Dywicki

        Issue Links

          Activity

            People

              gpetracek Gerhard Petracek
              ldywicki Łukasz Dywicki
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: