[ 
https://issues.apache.org/jira/browse/FELIX-5336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15681129#comment-15681129
 ] 

J.W. Janssen commented on FELIX-5336:
-------------------------------------

Hi Pierre, I'm very interested in this functionality as it might solve a 
problem I'm working on. While I could work around using the low-level prototype 
service mechanisms, getting native support from DM would we awesome!

Would it also be possible, for example, to get the service reference of the 
prototype service injected instead of the service directly? This way, we could 
control the lifecycle of the prototype service in our implementation, if 
needed...


> Add support for prototype scope services in DM4
> -----------------------------------------------
>
>                 Key: FELIX-5336
>                 URL: https://issues.apache.org/jira/browse/FELIX-5336
>             Project: Felix
>          Issue Type: New Feature
>          Components: Dependency Manager
>    Affects Versions: org.apache.felix.dependencymanager-r8
>            Reporter: Pierre De Rop
>            Assignee: Pierre De Rop
>             Fix For: org.apache.felix.dependencymanager-r9
>
>         Attachments: PrototypeServiceFactoryTest.java
>
>
> In the users mailing list, there is a wish to add support in DM4 for OSGi 
> prototype scope services, which allows any service consumer to get its own 
> instance of a given service dependency.
> See http://www.mail-archive.com/[email protected]/msg17473.html



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

Reply via email to