src/main/java/net/matrix/app/repository/ResourceContextConfig.java
public ResourceSelection getSelection(final String catalog) {
		checkReload();
		Set<ResourceSelection> result = set.getSelections(catalog);
		return Iterables.getFirst(result, null);
	}
public ResourceSelection getSelection(final String catalog) {
		checkReload();
		Set<ResourceSelection> result = set.getSelections(catalog);
		return Iterables.getFirst(result, null);
	}
选择某类别的默认名称资源。

@param catalog
类别
@return 资源选择