Content deleted Content added
→Creating and managing beans: Minor change Tags: Mobile edit Mobile web edit |
→Autowiring: ME Tags: Mobile edit Mobile web edit |
||
Line 109:
The {{code|@Primary}} annotation can be used on a class that defines a bean to inform Spring to prioritize the bean creation when autowiring it by type.{{sfn | Cosmina | Harrop | Schaefer | Ho | 2017 | loc=§3 Introducing IoC and DI in Spring - Autowiring Your Beans | pp=112-120 }}
The {{code|@Resource}} annotation is an annotation that conforms to [[JSR 250]], or Common Annotations for the Java Platform. The {{code|@Resource}} annotation is used for autowiring references to POJOs by name.{{sfn | Deinum | Long | Mak | Rubio | 2014 | loc=§3-4 Auto-wire POJOs the @Resource and @Inject annotation | pp=151-154}} The {{code|@Inject}} annotation is an annotation that conforms to JSR 300, or Standard Annotations for injection
===Aspect-oriented programming framework===
|