@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Operation
Service interfaces.
This annotation is not inherited, so it must be on any overridden signature in any sub-interface with the same values or an error will occur. Similarly, an error will occur if an implementation has multiple operation definitions of the same name with different signatures.
An operation can only define zero or one parameter that supports conversion. The return type
can be
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
name
Override the name of the operation.
|