commit | 2943df3a90ccd78bae40ef93121283b30f8da5ea | [log] [tgz] |
---|---|---|
author | David Jencks <djencks@apache.org> | Wed Sep 05 23:19:25 2012 +0000 |
committer | David Jencks <djencks@apache.org> | Wed Sep 05 23:19:25 2012 +0000 |
tree | 78025ed0572dc805754afef2e15c9089754c132d | |
parent | 29b9ce5929cb5b797d24575be22cc617480df03e [diff] |
FELIX-3645 restore previous behavior when a bind method cannot be found git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1381440 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scr/src/main/java/org/apache/felix/scr/impl/manager/DependencyManager.java b/scr/src/main/java/org/apache/felix/scr/impl/manager/DependencyManager.java index f9c2499..8fe689a 100644 --- a/scr/src/main/java/org/apache/felix/scr/impl/manager/DependencyManager.java +++ b/scr/src/main/java/org/apache/felix/scr/impl/manager/DependencyManager.java
@@ -1091,8 +1091,10 @@ for ( Iterator i = parameters.entrySet().iterator(); i.hasNext(); ) { Map.Entry entry = ( Map.Entry ) i.next(); - invokeBindMethod( ( AbstractComponentManager.RefPair ) entry.getValue()); - success = true; + if ( invokeBindMethod( ( AbstractComponentManager.RefPair ) entry.getValue() ) ) + { + success = true; + } } return success; }