felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Romanov <alexey.v.roma...@gmail.com>
Subject Re: Cyclical dependencies in iPOJO
Date Tue, 15 May 2012 06:33:12 GMT
Great, thank you!

Yours, Alexey Romanov


On Tue, May 15, 2012 at 10:15 AM, Göktürk Gezer <gokturk.gezer@gmail.com> wrote:
> Hi,
>
> Your specific situation is supported. I can't talk for other situations
> without knowing further description though.
>
> On Tue, May 15, 2012 at 8:38 AM, Alexey Romanov
> <alexey.v.romanov@gmail.com>wrote:
>
>> Does iPOJO support circular dependencies between components within one
>> bundle? Specifically, I am interested in a situation like this:
>>
>>
>> Bundle 1:
>>
>> interface Service1 { ... }
>>
>> interface Service2 { ... }
>>
>>
>> Bundle 2:
>>
>> @Component
>> @Provides
>> @Instantiate
>> public class Service1Impl implements Service1 {
>>    @Requires
>>    private Service2 service2;
>>    ...
>>
>> }
>>
>> @Component
>> @Provides
>> @Instantiate
>> public class Service2Impl implements Service2 {
>>    @Requires
>>    private Service1 service1;
>>    ...
>>
>> }
>>
>>
>> Blueprint (and Spring) do support this, Declarative Services don't
>> (http://stackoverflow.com/a/10578225/9204), but I can't find
>> information about iPOJO.
>>
>> Yours, Alexey Romanov
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>> Regards,
> Gokturk

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Mime
View raw message