@Override
	public List<ModuleDefinition> findDefinitions() {
		List<ModuleDefinition> results = new ArrayList<>();
		for (ModuleType type : ModuleType.values()) {
			results.addAll(findDefinitions(type));
		}
		return results;
	}
A reference to the main module registry (which also typically contains this registry as a delegate),
used to re-hydrate {@link org.springframework.xd.module.SimpleModuleDefinition}s with locations that
make sense on this runtime(admin or container).
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/module/store/ZooKeeperComposedModuleDefinitionRegistry.java