@Override
	public void preProcessModule(Module module) {
		Properties props = new Properties();
		for (String key : attributes.keySet()) {
			props.setProperty(ModulePlaceholders.XD_CONTAINER_KEY_PREFIX + key, attributes.get(key));
		}

		module.addProperties(props);
	}
A plugin that exposes information about the container to the Environment.

@author Eric Bottard
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/plugins/ContainerInfoPlugin.java