Is there any difference between behaviour of @Configuration
and @Component
annotation in Spring framework?
Is there any situation when changing @Configuration
to @Component
will change program's behaviour?
I did a few experiments and from what I see so far, they always work the same. Notice that I'm interested specifically in the difference of behaviour - I already know that the two annotations are usually used in different situations.