public static PropertySources create(ConfigGroup... configGroups) {
		final MutablePropertySources sources = new MutablePropertySources();
		for (ConfigGroup configGroup : configGroups) {
			if (configGroup.isEnumerable()) {
				sources.addLast(new ConfigGroupEnumerableResource(configGroup));
			} else {
				sources.addLast(new ConfigGroupResource(configGroup));
			}
		}
		return sources;
	}
Factory to create PropertySource for configuration group

@author Wang Yuxuan
config-toolkit/src/main/java/com/dangdang/config/service/support/spring/ConfigGroupSourceFactory.java