IBM Interview Question

Java OOP inheritance and polymorphism. How does Spring's ApplicationContext support annotation-based dependency injection?