@Override
	public ModuleDefinitionResource composeModule(String name, String definition, boolean force) {
		MultiValueMap<String, Object> values = new LinkedMultiValueMap<>();
		values.add("name", name);
		values.add("definition", definition);
		values.add("force", force);
		return restTemplate.postForObject(resources.get("modules").expand(), values, ModuleDefinitionResource.class);
	}
Implementation of the Module-related part of the API.

@author Eric Bottard
@author Glenn Renfro
@author Mark Fisher
@author Gunnar Hillert
spring-xd-rest-client/src/main/java/org/springframework/xd/rest/client/impl/ModuleTemplate.java