use of com.vaadin.client.DependencyLoader in project flow by vaadin.
the class GwtDomApiTest method gwtSetUp.
@Override
protected void gwtSetUp() throws Exception {
super.gwtSetUp();
registry = new Registry() {
{
UILifecycle uiLifecycle = new UILifecycle();
uiLifecycle.setState(UIState.RUNNING);
set(UILifecycle.class, uiLifecycle);
set(RequestResponseTracker.class, new RequestResponseTracker(this));
set(MessageHandler.class, new MessageHandler(this));
set(ServerRpcQueue.class, new ServerRpcQueue(this));
set(DependencyLoader.class, new DependencyLoader(this));
set(ResourceLoader.class, new ResourceLoader(this, false));
}
};
registry.getRequestResponseTracker().startRequest();
}
Aggregations