A clear understanding of getResourceMethod