T
- The type that should be returned from the
GWT.create()
callpublic interface GwtCreateResource<T> extends ResourcePrototype
GWT.create(Class)
to be used within an
ClientBundle. Example uses include the I18N support classes, RPC
endpoints, or any type that supports default instantiation. If no
GwtCreateResource.ClassType
annotation is present on the resource accessor method, the
type parameter T
will be used as the class literal passed to
GWT.create()
.Modifier and Type | Interface and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
T |
create()
Invokes
GWT.create() . |
getName
T create()
GWT.create()
. Multiple invocations of this method will
return different instances of the T
type.