How can I get Symbolic-Name of an Osgi bundle which is using one of my exported packages ?

Posted by Ozgun on Stack Overflow See other posts from Stack Overflow or by Ozgun
Published on 2010-04-08T14:51:21Z Indexed on 2010/04/08 14:53 UTC
Read the original article Hit count: 331

Filed under:
|

Inside one of my implementation libraries I want to know from which user library request is coming from?

Bundle A ClientCode -- > ServiceInterface

Bundle B ClientCode -- > ServiceInterface

Bundle C ServiceInterface ServiceImpl.

And those interfaces are resolved by one of impl. bundles (Bundle C). Inside that bundle I want to know from which bundle request is coming from (A or B)?

Thanks.

© Stack Overflow or respective owner

Related posts about osgi

Related posts about bundle