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

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 6.2
    • Component
    • None

    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

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

            Dates

              Created:
              Updated: