public class

RequestFactoryMagic

extends Object
java.lang.Object
   ↳ com.google.gwt.requestfactory.server.testing.RequestFactoryMagic

Class Overview

Create JRE-compatible instances of a RequestFactory interface.

Summary

Public Methods
static <T extends RequestFactory> T create(Class<T> requestFactory)
Create an instance of a RequestFactory.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static 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.

Parameters
requestFactory the RequestFactory type
Returns
  • an instance of the RequestFactory type