Uploaded image for project: 'CDI Specification Issues'
  1. CDI Specification Issues
  2. CDI-103

Support client controlled contexts

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Obsolete
    • Major
    • 2.1 (Discussion)
    • None
    • Contexts
    • None

    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;
      
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            pmuiratbleepbleep Pete Muir (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: