public synchronized Map<String, Map<Integer, Module>> getDeployedModules() {
		Map<String, Map<Integer, Module>> map = new HashMap<String, Map<Integer, Module>>();
		for (Map.Entry<String, Map<Integer, Module>> entry : this.deployedModules.entrySet()) {
			map.put(entry.getKey(), Collections.unmodifiableMap(entry.getValue()));
		}
		return Collections.unmodifiableMap(map);
	}
Return a read-only map of deployed modules. Key is the group/deployment
unit name, value is a map of module index to module.

@return map of deployed modules
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/module/ModuleDeployer.java