You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Tuomas Kiviaho (JIRA)" <ji...@apache.org> on 2014/08/05 13:21:12 UTC
[jira] [Created] (FELIX-4598) BundleDependency can effectively
track only one bundle
Tuomas Kiviaho created FELIX-4598:
-------------------------------------
Summary: BundleDependency can effectively track only one bundle
Key: FELIX-4598
URL: https://issues.apache.org/jira/browse/FELIX-4598
Project: Felix
Issue Type: Bug
Reporter: Tuomas Kiviaho
Bundles are delivered to callbacks after component is instantiated but prior to that they can't be. This is the case with ServiceDependencies as well but unlike them after component instantiation the tracker is not used as source of bundles but instead lookup method is used. ServiceDependencyImpl uses this approach only to gain properties and auto configuration instance.
I suggest that BundleDependencyImpl#invokeAdded(DependencyService service) would be implemented in similar manner that ServiceDependencyImpl#invokeAdded(DependencyService service) has been (perhaps also utilizing the serial executor) and lookupBundle() would utilize tracker first as does lookupService().
--
This message was sent by Atlassian JIRA
(v6.2#6252)