private <T> Bean<T> createRepositoryBean(Class<T> repositoryType, Set<Annotation> qualifiers, BeanManager beanManager) {
Bean<SolrOperations> solrOperationBeans = this.solrOperationsMap.get(qualifiers.toString());
if (solrOperationBeans == null) {
throw new UnsatisfiedResolutionException(String.format("Unable to resolve a bean for '%s' with qualifiers %s.",
SolrOperations.class.getName(), qualifiers));
}
return new SolrRepositoryBean<T>(solrOperationBeans, qualifiers, repositoryType, beanManager,
getCustomImplementationDetector());