Is it fair to say that, within a ServiceTracker I can safely replace:

S s = bundle.getService(servlceReference);

with

ServiceObjects<S> so = bundle.getServiceObjects(serviceReference);
S s = so.getService();


which would mean that only where a bundle implemented more than one such
tracker could the bundle ever get more than one instance! Correct?

-- 
*Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
 (@rotty3000)
Senior Software Architect
*Liferay, Inc.* <http://www.liferay.com> (@Liferay)
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to