728x90
Package org.springframework.stereotype
@NonNullApi @NonNullFields package org.springframework.stereotype
Annotations denoting the roles of types or methods in the overall architecture (at a conceptual, rather than implementation, level).
Intended for use by tools and aspects (making an ideal target for pointcuts).
-
Annotation InterfacesClassDescriptionIndicates that an annotated class is a "component".Indicates that an annotated class is a "Controller" (e.g.Indicate that the annotated element represents a stereotype for the index.Indicates that an annotated class is a "Repository", originally defined by Domain-Driven Design (Evans, 2003) as "a mechanism for encapsulating storage, retrieval, and search behavior which emulates a collection of objects".Indicates that an annotated class is a "Service", originally defined by Domain-Driven Design (Evans, 2003) as "an operation offered as an interface that stands alone in the model, with no encapsulated state."
728x90
'Web > spring' 카테고리의 다른 글
[Spring Test] (0) | 2023.04.22 |
---|---|
[JPA Repository] supported keyword (0) | 2023.04.20 |
[Spring Exception] Hibernate Mapping Exception – Unknown Entity (0) | 2023.04.10 |
[Spring Exception]Guide to Spring NonTransientDataAccessException (0) | 2023.04.10 |
[Spring Exception] Spring NoSuchBeanDefinitionException (0) | 2023.04.09 |