public class NonUniqueBeanException extends NoSuchBeanException
Constructor and Description |
---|
NonUniqueBeanException(java.lang.Class targetType,
java.util.Iterator<BeanDefinition<T>> candidates) |
Modifier and Type | Method and Description |
---|---|
<T> java.lang.Class<T> |
getBeanType() |
<T> java.util.Iterator<BeanDefinition<T>> |
getPossibleCandidates() |
public NonUniqueBeanException(java.lang.Class targetType, java.util.Iterator<BeanDefinition<T>> candidates)
T
- The typetargetType
- The target typecandidates
- The bean definition candidatespublic <T> java.util.Iterator<BeanDefinition<T>> getPossibleCandidates()
T
- The typepublic <T> java.lang.Class<T> getBeanType()
T
- The type