Class RequestFactorySource

java.lang.Object
com.google.web.bindery.requestfactory.vm.RequestFactorySource

public class RequestFactorySource extends Object
Create JRE-compatible instances of a RequestFactory interface. This is experimental, unsupported code.
  • Method Details

    • create

      public static <T extends RequestFactory> T create(Class<T> requestFactory)
      Create an instance of a RequestFactory. The returned RequestFactory must be initialized with an explicit RequestTransport via the initialize(EventBus, RequestTransport method.
      Type Parameters:
      T - the RequestFactory type
      Parameters:
      requestFactory - the RequestFactory type
      Returns:
      an instance of the RequestFactory type
      See Also:
      • invalid reference
        InProcessRequestTransport