src/main/java/net/matrix/app/repository/ResourceContext.java
public Resource getResource(final String catalog) {
		ResourceSelection selection = contextConfig.getSelection(catalog);
		if (selection == null) {
			return null;
		}
		return repository.getResource(selection);
	}
public Resource getResource(final String catalog) {
		ResourceSelection selection = contextConfig.getSelection(catalog);
		if (selection == null) {
			return null;
		}
		return repository.getResource(selection);
	}
public Resource getResource ( final String catalog ) { ResourceSelection selection = contextConfig . getSelection ( catalog ) ; if ( selection == null ) { return null ; } return repository . getResource ( selection ) ; }
定位资源。

@param catalog
类别
@return 资源
定位资源。