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

Add API for generating strings 100% compatible with Services.forContract(String) and Services.byType(String).

    Details

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

      Description

      E.g.:

          /**
           * Build a string definition for a generic contract.
           *
           * @param rawType raw generic type.
           * @param types actual generic type arguments.
           * @return string definition for a generic contract.
           */
          public static String contractStringFor(Class<?> rawType, Type... types);
      

      It should be handled via the same logic as HK2 internal exploreType(...) method.

        Activity

        Hide
        Marek Potociar added a comment -

        Not applicable anymore.

        Show
        Marek Potociar added a comment - Not applicable anymore.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: