@Override
	public ModuleOptionsMetadata resolve(ModuleDefinition moduleDefinition) {
		List<ModuleOptionsMetadata> moms = new ArrayList<ModuleOptionsMetadata>(delegates.size());
		for (ModuleOptionsMetadataResolver delegate : delegates) {
			ModuleOptionsMetadata resolved = delegate.resolve(moduleDefinition);
			if (resolved != null) {
				moms.add(resolved);
			}
		}
		return new FlattenedCompositeModuleOptionsMetadata(moms);
	}
A {@link ModuleOptionsMetadataResolver} that will invoke several other {@link ModuleOptionsMetadataResolver}
instances in turn and merge their results (flattening them).

@author Eric Bottard
spring-xd-module/src/main/java/org/springframework/xd/module/options/DelegatingModuleOptionsMetadataResolver.java