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
public interface GwtCreateResource<T> extends ResourcePrototype
This resource type allows any class that can be instantiated via a call toGWT.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 noGwtCreateResource.ClassTypeannotation is present on the resource accessor method, the type parameterTwill be used as the class literal passed toGWT.create().
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceGwtCreateResource.ClassTypeThis annotation can be applied to the resource getter method in order to callGWT.createwith a class literal other than that of the return type parameterization.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tcreate()InvokesGWT.create().-
Methods inherited from interface com.google.gwt.resources.client.ResourcePrototype
getName
-
-
-
-
Method Detail
-
create
T create()
InvokesGWT.create(). Multiple invocations of this method will return different instances of theTtype.
-
-