public class NonUniqueBeanException extends NoSuchBeanException
| Constructor and Description |
|---|
NonUniqueBeanException(Class targetType,
Iterator<BeanDefinition<T>> candidates) |
| Modifier and Type | Method and Description |
|---|---|
<T> Class<T> |
getBeanType() |
<T> Iterator<BeanDefinition<T>> |
getPossibleCandidates() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic NonUniqueBeanException(Class targetType, Iterator<BeanDefinition<T>> candidates)
T - The typetargetType - The target typecandidates - The bean definition candidatespublic <T> Iterator<BeanDefinition<T>> getPossibleCandidates()
T - The typepublic <T> Class<T> getBeanType()
T - The type