@Documented
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Service
Operation methods.
This can only be declared on an interface. This annotation is not inherited, so it must be on any sub-interface with the same name or an error will occur. Similarly, an error will occur if an implementation implements multiple interfaces with this annotation with any different values.
All methods within (even on super interfaces) must be annotated with Operation and
must conform to the rules of that annotation. Two operations with the same name are not allowed.
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
name
Override the name of the service.
|