I came across an example of @Autowired
:
public class EmpManager {
@Autowired
private EmpDao empDao;
}
I was curious about how the empDao
get sets since there are no setter methods and it is private.
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…