Package com.google.gwt.resources.client
Interface GwtCreateResource<T>
- Type Parameters:
T
- The type that should be returned from theGWT.create()
call
- All Superinterfaces:
ResourcePrototype
This resource type allows any class that can be instantiated via a call to
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()
.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic @interface
This annotation can be applied to the resource getter method in order to callGWT.create
with a class literal other than that of the return type parameterization. -
Method Summary
Methods inherited from interface com.google.gwt.resources.client.ResourcePrototype
getName
-
Method Details
-
create
T create()InvokesGWT.create()
. Multiple invocations of this method will return different instances of theT
type.
-