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

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

    XMLWordPrintable

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.

      Attachments

        Issue Links

          Activity

            People

              manovotn Matěj Novotný
              mkouba@redhat.com Martin Kouba
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: