Class RequestFactorySource
- java.lang.Object
-
- com.google.web.bindery.requestfactory.vm.RequestFactorySource
-
public class RequestFactorySource extends java.lang.Object
Create JRE-compatible instances of a RequestFactory interface. This is experimental, unsupported code.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends RequestFactory>
Tcreate(java.lang.Class<T> requestFactory)
Create an instance of a RequestFactory.
-
-
-
Method Detail
-
create
public static <T extends RequestFactory> T create(java.lang.Class<T> requestFactory)
Create an instance of a RequestFactory. The returned RequestFactory must be initialized with an explicitRequestTransport
via theinitialize(EventBus, RequestTransport
method.- Type Parameters:
T
- the RequestFactory type- Parameters:
requestFactory
- the RequestFactory type- Returns:
- an instance of the RequestFactory type
- See Also:
InProcessRequestTransport
-
-