commit | fa01bf106e64d3e47a37487745506ff52a9a9287 | [log] [tgz] |
---|---|---|
author | Marcel Offermans <marrs@apache.org> | Mon Jan 04 09:32:37 2010 +0000 |
committer | Marcel Offermans <marrs@apache.org> | Mon Jan 04 09:32:37 2010 +0000 |
tree | 1127d77bbe222ebad8c10a0299dc9d85e359bc97 | |
parent | 516a9ad28420d0162d510b2b4a41922cd69d174d [diff] |
bugfix for instance bound service dependencies git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@895584 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/ServiceImpl.java b/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/ServiceImpl.java index bf980f5..ed0a36b 100644 --- a/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/ServiceImpl.java +++ b/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/ServiceImpl.java
@@ -292,7 +292,7 @@ newState = new State((List) m_dependencies.clone(), !oldState.isInactive(), m_isInstantiated, m_isBound); m_state = newState; } - if (newState.isAllRequiredAvailable()) { + if (newState.isAllRequiredAvailable() || newState.isWaitingForRequiredInstantiated()) { updateInstance(dependency); } calculateStateChanges(oldState, newState);