Details
-
Bug
-
Resolution: Fixed
-
Major
-
12.4
-
None
-
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
- is related to
-
XCOMMONS-1939 Fail the build if we try to @Inject something else than the component role
- Closed