Neil, unfortunately I can't agree with you. As I understand both pax (@Inject @OsgiService) and fighterfish ( @OSGiService) work with osgi "registry". So it is the question about how to get new service instance for every consumer from osgi "registry" - I am sorry if the terms I use are wrong. That's why I think this mailing list is the right place. I think so...
>Четверг, 16 июля 2015, 16:46 +01:00 от Neil Bartlett <[email protected]>: > >Alex, > >This list might not be the best place to ask about CDI, since it is a Java >enterprise spec that is not much used with OSGi as far as I can see. > >In fact your choice to use CDI with OSGi puts you within a very narrow niche. >It may be the case that nobody knows the answer to your question, or that what >you want to achieve is not possible with the current tools. If you are willing >to invest in improving those tools yourself then you might make progress… >otherwise I would strongly recommend finding a different solution. > >Regards, >Neil >>On 16 Jul 2015, at 16:41, Alex Sviridov < [email protected] > wrote: >>Neil, thank you for your answer. I asked a question about using getting new >>instance of DS for every consumer call to work with CDI at this >>mailing list and at stackoverflow >>http://stackoverflow.com/questions/31354996/osgi-ds-and-component-factories-issues >> >> >>You, Neil, helped me as you could, but you don't like CDI (as I understood). >>Is here anyone else besides you, who could help, as the question is very >>important for >>me and I can't continue work without getting certain answer. >> >> >>>Четверг, 16 июля 2015, 16:35 +01:00 от Neil Bartlett < [email protected] >>>>: >>> >>>No. >>> >>>> On 16 Jul 2015, at 16:34, Alex Sviridov < [email protected] > wrote: >>>> >>>> I haven't got any messages from this mailing list. Is it dead? >>>> >>>> >>>> -- >>>> Alex Sviridov >>> >> >> >>-- >>Alex Sviridov -- Alex Sviridov

