Annotation Interface RestService


@Target(TYPE) @Retention(RUNTIME) @Documented @Service public @interface RestService
Exposes a service through the Generic REST API.

This annotation should be used instead of Service, for example:


     @RestService("EmployeeService")
     public class EmployeeService {
     }
 
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details

    • value

      @AliasFor(annotation=org.springframework.stereotype.Service.class) String value