[forge-issues] [JBoss JIRA] (FORGE-2039) @Inject Imported includes duplicate services

Jess Sightler (JIRA) issues at jboss.org
Wed Sep 24 14:47:02 EDT 2014


     [ https://issues.jboss.org/browse/FORGE-2039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jess Sightler updated FORGE-2039:
---------------------------------
    Attachment: duplicateservicetest.zip


Attached sample test case, with a failing unit test to demonstrate the issue.

> @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