[Relearn Spring] 2.4 IoC – Annotation-Based Configuration Leave a Comment / Java / May 4, 2010 May 4, 2010 1. For Injection @Required @Autowired — wire by type @Resource — wire by name @Qulifier 2. For Declaration @Component @Service @Repository @Controller These annotations will take effect only if <context:component-scan> is used.