Thank you for all answers.

I think a solution for this problem. Let me explain.
I have two bundles which are A and B,

A uses B and B uses A. So this makes circular dependency.

I decide to implement a new bundle C.
This bundle holds only the interfaces of A and B.
So A and B depends on bundle C. This breaks the circular dependency.

But another problem arises, if I change the interface's A in bundle C,
all bundles must be stop and start in order to work correctly (A,B and
C). Am I correct ? If this is correct, I cannot put all interfaces in
a common bundle that is used by other bundles. Is there any other way
that you can advice for me.
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to