[BAEL-16662] Move articles out of spring-core and into spring-di and … (#7750)

* [BAEL-16662] Move articles out of spring-core and into spring-di and spring-core-2

* [BAEL-16662] Fixed required config classes

* [BAEL-16662] - Removed unused dependencies from spring-core
This commit is contained in:
Sam Millington
2019-09-16 11:00:12 +01:00
committed by Josh Cummings
parent 6ee7181125
commit 8d6c2dc2ed
139 changed files with 787 additions and 320 deletions

View File

@@ -0,0 +1,17 @@
package com.baeldung.sample;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@Component
public class FooService {
@Autowired
@FormatterType("Foo")
private Formatter formatter;
public String doStuff() {
return formatter.format();
}
}