@Override
public <T> T getInstance(Class<T> beanType, String beanName) {
try {
return (T) applicationContext.getBean(beanName, beanType);
} catch (NoUniqueBeanDefinitionException e) {
throw new IocInstanceNotUniqueException(e);
} catch (NoSuchBeanDefinitionException e) {
return null;
}
}