Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 12.4
-
Fix Version/s: 12.5-rc-1
-
Component/s: Development Issues only
-
Labels:None
-
Tests:Integration
-
Difficulty:Unknown
-
Documentation:N/A
-
Documentation in Release Notes:N/A
-
Similar issues:
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
-