You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2015/05/21 18:02:17 UTC

[jira] [Created] (ARIES-1326) Allow to define bean id for service ref

Christian Schneider created ARIES-1326:
------------------------------------------

             Summary: Allow to define bean id for service ref
                 Key: ARIES-1326
                 URL: https://issues.apache.org/jira/browse/ARIES-1326
             Project: Aries
          Issue Type: Improvement
          Components: Blueprint
    Affects Versions: blueprint-maven-plugin-1.1.0
            Reporter: Christian Schneider
            Assignee: Christian Schneider
             Fix For: blueprint-maven-plugin-1.2.0


If you want to reference two Services that have the same ClassName for the interface but different packages then currently both get the same bean id that is derived solely from the Classname of the interface.

So we need a way to define the bean id in this case. The Suitable way is to enable @Named and @Qualifier for @OsgiService refs too.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)