![]() The author also uses circular reasoning: is not a stereotype because it can't be treated as a stereotype. If that were true, then and wouldn't by stereotypes either. Nowhere does it say that an annotation is not a stereotype if it can't be treated the same way as specifically. I really don't see from what premises the author draws their conclusion. Pivotal Certified Professional Core Spring 5 Developer Exam A Study Guide Using Spring Framework wrote:Anyway, is different because it is a composed annotation that is meta-annotated with and of that cannot be treated the same way as and thus it cannot be a stereotype annotation if it cannot be treated the same as one. The annotation is a stereotype annotation, given that its declaration is annotated with the annotation."Ĭore Spring 5 Certification in Detail, written by Ivan KrizsanĪnd since it is a question I might get on my exam, i'm quite puzzled by the different answers I got. ![]() In addition, it is located in the package. ![]() Pivotal Certified Professional Core Spring 5 Developer Exam A Study Guide Using Spring Framework 5, written by Iuliana Cosmina and published by Apress.Īccording to the first reference of this section, the is a stereotype annotation. This is useful when classpath scanning is replaced with reading a metadata file generated at compile time for identifying bean types.Īnyway, is different because it is a composed annotation that is meta-annotated with and of that cannot be treated the same way as and thus it cannot be a stereotype annotation if it cannot be treated the same as one." They are part of the stereotype package and have a fundamental role in declaring is a special case because it was added in Spring 5 to indicate that the annotated element represents a stereotype for the index. First, there are five stereotype annotations in Spring: and and they are grouped under the package.Īll of them, except are meta-annotated with a single Spring annotation, which means that the meta-annotated annotation can be treated the same as the annotation it is annotated with. ![]() I'm studying for the Spring professionnal certification and this is one of the question they provide in their study guide :Īnd those are the answers I found in 2 books that were recommanded to me to study this certification :ġ."You might think at this point, since is a specialization of this makes it a stereotype annotation, right? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |