Example for article Java-Based Configuration of Spring Dependency Injection.