Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-651

The component manager should support wildcards in the requested component role

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 6.2
    • Fix Version/s: None
    • Component/s: Component
    • Labels:
      None
    • Similar issues:

      Description

      Usecase:

      • declare a @Role DataTypeManager<T>
      • write implementations with different values for T
      • request @Inject List<DataTypeManager<?>> implementations; currently the component manager fails to provide any of the implementations, but it should return all of them
      • request @Inject List<DataTypeManager<? extends SomeBaseClass>>, and it should return only matching implementations

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            sdumitriu Sergiu Dumitriu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: