DEV Community

MOHAMD DORRA
MOHAMD DORRA

Posted on

Spring Stereotypes

Spring stereotype annotations are aliases for @Component annotation, like Service, Repository and Controller.
Hence you can define your own stereotype and customize it like the Api component here and spring container will take the rest on initializing the suitable component.

Spring

Top comments (0)