Details

      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;
      
      

        Gliffy Diagrams

          Activity

          Hide
          pmuir Pete Muir added a comment -

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

          Show
          pmuir 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:
              pmuir Pete Muir
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:

                Development