public void setDelegates(ModuleRegistry... delegates) {
		for (ModuleRegistry delegate : delegates) {
			this.delegates.add(delegate);
		}
	}
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