Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2427

WeldInstance - consider adding a select() method which accepts java.lang.reflect.Type

    Details

      Description

      In this case, type safety cannot be guaranteed and so we would have to check the type argument at runtime and fail if the type is not a subtype of the required bean type.

      Although it's not type-safe there are some valid use cases where a similar functionality would be really helpful. See also CDI-455 and CDI-516.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  manovotn Matej Novotny
                  Reporter:
                  mkouba Martin Kouba
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: