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

SPI element related to Instance are missing info about their qualifier

XMLWordPrintable

    • Icon: Clarification Clarification
    • Resolution: Done
    • Icon: Major Major
    • 2.0 .Final
    • 2.0.Beta1
    • Javadoc and API
    • None

      Following elements are related to Instance interface:

      • CDI class implements Instance
      • SeContainer extends Instance
      • BeanManager.createInstance() returns and Instance object

      If these Instance usage are all Instance<Object> there's no information regarding their qualifier.

      We should state in Javadoc and spec that these Instance behaves like an injected instance with @Inject @Any Instance<Object> to allow access to all beans instance in the container.

            asabotdu@redhat.com Antoine Sabot-Durand (Inactive)
            asabotdu@redhat.com Antoine Sabot-Durand (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: