|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Component public @interface Service
Indicates that an annotated class is a "Service" (e.g. a business service facade).
This annotation serves as a specialization of @Component
,
allowing for implementation classes to be autodetected through classpath scanning.
Component
,
ClassPathBeanDefinitionScanner
Optional Element Summary | |
---|---|
String |
value
The value may indicate a suggestion for a logical component name, to be turned into a Spring bean in case of an autodetected component. |
public abstract String value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |