@Component (Common pojo instantiated into the spring container, corresponding to the configuration file
<bean id = "" class = "" />)
refers to the various components, that is when we do not belong to various classes categorized when (not part of @ Controller, @ Services, etc. when), we can use to label this class @Component
@component comment
Guess you like
Origin www.cnblogs.com/curedfisher/p/11933053.html
Recommended
Ranking