no need to select instance from container
extracting getBeanFrom method