[forge-issues] [JBoss JIRA] (FORGE-2039) @Inject Imported includes duplicate services
Jess Sightler (JIRA)
issues at jboss.org
Wed Sep 24 18:12:03 EDT 2014
[ https://issues.jboss.org/browse/FORGE-2039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13005877#comment-13005877 ]
Jess Sightler commented on FORGE-2039:
--------------------------------------
Adding @Specializes does change things,
> @Inject Imported includes duplicate services
> --------------------------------------------
>
> Key: FORGE-2039
> URL: https://issues.jboss.org/browse/FORGE-2039
> Project: Forge
> Issue Type: Feature Request
> Reporter: Jess Sightler
> Attachments: duplicateservicetest.zip
>
>
> Interface: SampleInterface
> Implementations:
> SampleServiceBase
> SampleServiceSubclass (subclass of SampleServiceBase)
> @Inject
> private Imported<SampleInterface> interfaces;
> This injected list will contain two copies of SampleServiceSubclass.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the forge-issues
mailing list