import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.context.support.GenericApplicationContext;
import org.wamblee.system.AbstractComponent;
-import org.wamblee.system.CompositeComponent;
+import org.wamblee.system.Container;
import org.wamblee.system.ProvidedInterfaceDescriptor;
import org.wamblee.system.RequiredInterfaceDescriptor;
import org.wamblee.system.Service;
public SpringComponent(String aName, ServiceRegistry aRegistry, String[] aConfigFiles,
Map<String, ProvidedInterfaceDescriptor> aProvided,
Map<RequiredInterfaceDescriptor, String> aRequired) {
- super(aName, aRegistry, aProvided.values().toArray(new InterfaceDescriptor[0]),
- aRequired.keySet().toArray(new InterfaceDescriptor[0]));
+ super(aName, aRegistry, aProvided.values().toArray(new ProvidedInterfaceDescriptor[0]),
+ aRequired.keySet().toArray(new RequiredInterfaceDescriptor[0]));
_properties = new Properties();
_configFiles = aConfigFiles;
_provided = aProvided;