(no commit message)
[utils] / system / general / src / main / java / org / wamblee / system / container / Container.java
index 349e59782cee2eae1251ab216d1648a82f12d815..92aba2144c3286f49ef0554fa5b537b6acf9e1b3 100644 (file)
@@ -16,7 +16,6 @@
 package org.wamblee.system.container;
 
 import java.util.ArrayList;
-import java.util.Collection;
 import java.util.HashSet;
 import java.util.List;
 import java.util.Set;
@@ -225,13 +224,13 @@ public class Container extends AbstractComponent<Scope> {
     private ComponentGraph createComponentGraph() {
         ComponentGraph graph = new ComponentGraph();
         for (RequiredInterface req : getRequiredInterfaces()) {
-            graph.addRequiredInterface(req);
+            graph.addRequiredInterface(this, req);
         }
         for (Component comp : _components) {
             graph.addComponent(comp);
         }
         for (ProvidedInterface prov: getProvidedInterfaces()) { 
-            graph.addProvidedInterface(prov);
+            graph.addProvidedInterface(this, prov);
         }
 
         graph.addRestriction(_restriction);