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

Introduce a Instance#ifResolved(Consumer<T>) method

    XMLWordPrintable

Details

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

    Description

      in many cases, the logic around isResolvable/isUnsatisfied/isAmbiguous could be replaced by a consumer of the resolved instance. It would be good to introduce a ifResolved(Consumer<T>) method that consumes the resolved instance, not invoking the consumer if the instance was not resolvable.

      Attachments

        Activity

          People

            Unassigned Unassigned
            meetoblivion_jira John Ament (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: