@Override
	public ModuleOptionsMetadata resolve(ModuleDefinition moduleDefinition) {
		ModuleOptionsMetadata wrapped = delegate.resolve(moduleDefinition);
		if (wrapped == null) {
			return null;
		}

		return new ModuleOptionsMetadataWithDefaults(wrapped, moduleDefinition);
	}
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