Annotation Type GwtCreateResource.ClassType


  • @Documented
    @Retention(RUNTIME)
    @Target(METHOD)
    public static @interface GwtCreateResource.ClassType
    This annotation can be applied to the resource getter method in order to call GWT.create with a class literal other than that of the return type parameterization. This annotation would be used with RPC endpoints:
    @ClassType(Service.class)
     GwtCreateResource<ServiceAsync> rpc();
     
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<?> value  
    • Element Detail

      • value

        java.lang.Class<?> value