Closed
Description
The last example code in composing java-based configurations is showing below as TransferService
.
public static void main(String[] args) {
ApplicationContext ctx = new AnnotationConfigApplicationContext(AppConfig.class);
TransferService transferService = ctx.getBean(TransferService.class);
// ...
}
But in the example for this the class name is DataSource
.