@Value("${" + XD_MODULE_CONFIG_NAME + ":" + DEFAULT_XD_MODULE_CONFIG_NAME + "}")
	public void setConfigName(String configName) {
		boolean valid = StringUtils.hasText(configName) && !configName.endsWith(".properties")
				&& !configName.endsWith(".yml");
		Assert.isTrue(valid,
				String.format("'%s' should not be blank, nor end up with a file extension", XD_MODULE_CONFIG_NAME));
		this.configName = configName;
	}
The parent environment this bean lives in. Used to know which profiles are active at the server level.
spring-xd-module/src/main/java/org/springframework/xd/module/options/EnvironmentAwareModuleOptionsMetadataResolver.java