hk2
  1. hk2
  2. HK2-30 Modular binding & injection API
  3. HK2-31

Merge Services.forContract and Services.byType functionality into a single method.

    Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.*
    • Fix Version/s: 2.1.*
    • Component/s: None
    • Labels:
      None

      Description

      Services.forContract and Services.byType should be merged into a single method; esp. with programatic bindings there is no easy way of knowing for sure if a class is registered as a contract or not.

      The solution could be to either merge the existing methods or add a new one on top of them.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            jwells
            Reporter:
            Marek Potociar
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: