@Override
	public ModuleDefinition findDefinition(String name, ModuleType moduleType) {
		for (ModuleRegistry delegate : delegates) {
			ModuleDefinition result = delegate.findDefinition(name, moduleType);
			if (result != null) {
				return result;
			}
		}
		return null;
	}
A {@link ModuleRegistry} that delegates to several ModuleRegistries, in order.

@author Eric Bottard
@author Glenn Renfro
@author David Turanski
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/module/DelegatingModuleRegistry.java