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

Providers should not require any role hint

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5
    • Fix Version/s: 4.0-milestone-1
    • Component/s: Component
    • Labels:
      None
    • Similar issues:

      Description

      Right new Provider are not very nice to use since the provided type is not taken into account by the annotation loader/component manager and force us to use role hint to differentiate them. It kind of defeat the purpose...

      Provider should be registered by using its provided type and key so way. Either by generating a role hint using the provided type or by introducing a Provider oriented API in ComponentManager.

        Attachments

          Activity

            People

            Assignee:
            tmortagne Thomas Mortagne
            Reporter:
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: