Annotation Type ServiceName


  • @Retention(RUNTIME)
    @Target(TYPE)
    public @interface ServiceName
    Annotation on Request classes specifying the server-side implementations that back them.This annotation can be used in place of Service if the service type is not available to the GWT compiler or DevMode runtime.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value
      The binary name of the domain type that provides the implementations for the methods defined in the RequestContext.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String locator
      An optional binary name of a ServiceLocator that provides instances of service objects used when invoking instance methods on the type returned by value().
    • Element Detail

      • value

        java.lang.String value
        The binary name of the domain type that provides the implementations for the methods defined in the RequestContext.
      • locator

        java.lang.String locator
        An optional binary name of a ServiceLocator that provides instances of service objects used when invoking instance methods on the type returned by value().
        Default:
        ""