[forge-issues] [JBoss JIRA] (FORGE-2039) @Inject Imported includes duplicate services
George Gastaldi (JIRA)
issues at jboss.org
Wed Sep 24 16:15:04 EDT 2014
[ https://issues.jboss.org/browse/FORGE-2039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13005859#comment-13005859 ]
George Gastaldi commented on FORGE-2039:
----------------------------------------
What happens if you add a @Specializes in SampleServiceSubclass?
> @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