Details

    • Type: Feature Request Feature Request
    • Status: Open Open (View Workflow)
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: TBD
    • Component/s: Contexts
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      Description

      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:

      @MyScope
      class Foo {
      
         String name;
      
      }
      

      and a context which uses annotations to differentiate between contextual instance, these two injection points would see different instances:

      
      @Inject @Bar Foo barFoo;
      
      @Inject @Baz Foo bazFoo;
      
      

        Activity

        Hide
        Pete Muir
        added a comment -

        Slipping Java SE issues, we don't have time or scope in CDI 1.1 to address them.

        Show
        Pete Muir
        added a comment - Slipping Java SE issues, we don't have time or scope in CDI 1.1 to address them.

          People

          • Assignee:
            Unassigned
            Reporter:
            Pete Muir
          • Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated: