![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring feature
hotbain
好学!但考试就是考不好!
展开
-
spring extral features-----GenericApplicationContext
@Test public void test1(){ GenericApplicationContext genericApplicationContext=new GenericApplicationContext(); BeanDefinitionBuilder builder=BeanDefinitionBuilder.rootBeanDefinition(User...2013-06-30 22:51:36 · 157 阅读 · 0 评论 -
spring extral features-----AnnotationConfigApplicationContext
/** * */package cn.ythd.spring.service.impl;import org.springframework.context.annotation.Scope;import org.springframework.stereotype.Component;import cn.ythd.spring.Quality;imp...2013-06-30 23:15:34 · 116 阅读 · 0 评论