Example of explicitly defining beans and dependencies for article
Java-Based Configuration of Spring Dependency Injection
.