When annotating a class with @Component, does this mean it is a Spring Bean and Singleton?

being fairly new to Spring i have a question about annotating a class. When annotating a class with @Component does this mean that this class will be a Spring Bean and by default a singleton?

99
задан Aditya Joshee 22 May 2016 в 07:19
поделиться