Hello All,
 
         I have a query regarding getting service reference.
 
We can get the service reference using getAllServiceReferences(), getServiceReference() and getServiceReferences(). But only getServiceReferences is using isAssignableTo() method for checking. What exactly is the method isAssignableTo is checking which other service reference getting methods are not using?
 
Does isAssignableTo has to check the imports, exports and dynamic imports?
 
If so in the given scenario below what should happen?
 
In the scenario where if a bundle A is installing another bundle B. Bundle B is registering a service S1. Then Bundle A will be able to get the service S1 without having an import for the package in which service S1 is there?
 
Regards,
Kiran Bharadwaj


Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1ยข/min.
_______________________________________________
osgi-dev mailing list
osgi-dev@bundles.osgi.org
http://bundles.osgi.org/mailman/listinfo/osgi-dev

Reply via email to