摘要: Spring基于注解的装配 一.spring基于注解配置bean 正常情况下我们在xml配置bean,但是我们为了减少xml配置,可以在类上使用一些特定注解向Spring容器表明这是一个需要注册的bean。常用的注解有@Configure、@Component、@Reposity、@Service、 阅读全文