摘要: public static T getBean(Class clazz) { T t = null; try { //throw new NoSuchBeanDefinitionException(""); t = getApplicationContext().getBean(clazz); } catch (NoSuchBeanDefinitionException... 阅读全文
posted @ 2018-05-27 19:30 樊金龙 阅读(171) 评论(0) 推荐(0) 编辑