程序包的使用
org.springframework.stereotype
使用org.springframework.stereotype的程序包 程序包 说明 org.springframework.context.annotation Annotation support for the Application Context, including JSR-250 "common" annotations, component-scanning, and Java-based metadata for creating Spring-managed objects.org.springframework.stereotype Annotations denoting the roles of types or methods in the overall architecture (at a conceptual, rather than implementation, level).org.springframework.web.bind.annotation Annotations for binding requests to controllers and handler methods as well as for binding request parameters to method arguments.org.springframework.context.annotation使用的org.springframework.stereotype中的类 类 说明 Component Indicates that an annotated class is a "component".org.springframework.stereotype使用的org.springframework.stereotype中的类 类 说明 Component Indicates that an annotated class is a "component".Indexed Indicate that the annotated element represents a stereotype for the index.org.springframework.web.bind.annotation使用的org.springframework.stereotype中的类 类 说明 Component Indicates that an annotated class is a "component".Controller Indicates that an annotated class is a "Controller" (e.g. a web controller).