In this video, shows you to use @Autowired to do bean autowiring. It's also the same as asking spring do Dependency Injection.
There are 3 types being used: property-based, setter-based, constructor-based. Since we're using Annotation + XML/Java Config, the default type of bean autowiring is byType.
source code: https://github.com/TinaXing2012/Sprin...