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);