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

@Inject spoon processor fails to handle special injection interfaces without @Role annotations

    XMLWordPrintable

Details

    • Integration
    • Unknown
    • N/A
    • N/A

    Description

      We need to handle:

          private static final List<String> SPECIAL_INJECT_INTERFACES = Arrays.asList(
              "org.slf4j.Logger",
              "java.util.List",
              "java.util.Map",
              "javax.inject.Provider",
              "org.xwiki.component.descriptor.ComponentDescriptor"
          );
      

      which are interfaces but they don't define a @Role annotation as they're handled specially by the ECM.

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: