what I know is that @Component will tell the spring that this class in instantiated by IoC container, but that does not work in case of a class that extends QuartzJobBean because this class is not initialized by spring, but with QuartzJobBean. which mean that this class is out side application context. My questions is:
- when to use @Component, I mean what is the properties/characteristics of a class that make spring be able to instantiate?
- What is the "class is out side application context" mean?