Annotation Type GwtCreateResource.ClassType

Enclosing interface:
GwtCreateResource<T>

@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
     
  • Element Details