// Also derive properties from the overridable properties of the components in the composite
if (componentType == null) {
AssemblyFactory factory = modelContext.getAssemblyFactory();
componentType = factory.createComponentType();
for (EntryPoint entryPoint : getEntryPoints()) {
Service service = factory.createService();
service.setName(entryPoint.getName());
ServiceContract serviceContract = entryPoint.getConfiguredService().getPort().getServiceContract();
if (serviceContract != null)
service.setServiceContract(serviceContract);
componentType.getServices().add(service);