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

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              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

              Dates

                Created:
                Updated:
                Resolved: