mardi 24 mars 2015

@Autowiring and @Resource annotations in Spring

My question is quick, we use @Autowire to wire beans by type, and @Resource by name, but I have always seen these annotations used to wire variables inside a class, can they be used at a method level as well to wire all the properties of a object?


Thank you


Aucun commentaire:

Enregistrer un commentaire