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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to