@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Component public @interface Service
May also indicate that a class is a "Business Service Facade" (in the Core J2EE patterns sense), or something similar. This annotation is a general-purpose stereotype and individual teams may narrow their semantics and use as appropriate.
This annotation serves as a specialization of @Component
,
allowing for implementation classes to be autodetected through classpath scanning.
Component
,
Repository
@AliasFor(annotation=Component.class) public abstract String value