I have 3 OSGi bundles in such as way, implemented class is of same name but in different bundles :
Bundle A (com.adobe) ---- Interface ( foo() )
Bundle B (org.custom) ---- ChildClassA ( foo() {} )
Bundle C (myprj.adobe) ---- ChildClassA ( foo() {} )
I have a snippet as below :
Interface refObj;
refObj.foo();
How can i inject the object of specific implemented class from another bundle.
Thanks,