/**
* Creates an composite component with the given name
*/
public static ModuleComponent createSystemCompositeComponent(String name) throws ConfigurationLoadException {
ModuleComponent sc = systemFactory.createModuleComponent();
SystemModule impl = systemFactory.createSystemModule();
impl.setName(name);
impl.setImplementationClass(SystemCompositeContextImpl.class);
impl.setComponentType(getComponentType());
sc.setImplementation(impl);
Service s = systemFactory.createService();
JavaServiceContract ji = systemFactory.createJavaServiceContract();
s.setServiceContract(ji);
ji.setScope(Scope.AGGREGATE);
//impl.setComponentType(systemFactory.createComponentType());
impl.getComponentType().getServices().add(s);
sc.setName(name);
sc.setImplementation(impl);
return sc;
}