I did not find it clear from the docs, so I raise the question here (hope this is the right place):
what is the difference between
andCode:@Autowired private MyObj obj;
Code:private MyObj obj; @Autowired public void setObj(MyObj obj) { this.obj= obj; }


Reply With Quote
