@Bean
	public ModuleFactory moduleFactory() {
		return new ModuleFactory(moduleOptionsMetadataResolver);
	}
Container Application Context

@author David Turanski
@author Ilayaperumal Gopinathan
@author Marius Bogoevici
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/server/container/ContainerConfiguration.java