Annotation Interface MappedService
@Documented
@Retention(RUNTIME)
@Target(ANNOTATION_TYPE)
@Analyze("org.tentackle.buildsupport.MappedServiceAnalyzeHandler")
public @interface MappedService
Annotation to mark an annotation to be processed by the
For each class annotated with the marked annotation, a line
MappedServiceAnalyzeHandler.For each class annotated with the marked annotation, a line
<annotated class> = <value>
is appended to META-INF/mapped-services/<service class> (see Constants.MAPPED_SERVICE_PATH).
The mappings are read via ServiceFinder.createNameMap(String).-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
value
-
method
String methodThe name of the element of the marked annotation that provides the mapped value.
The default is "value".- Returns:
- the element name
- Default:
"value"
-