Search in sources :

Example 1 with DependencyLoader

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();
}
Also used : ResourceLoader(com.vaadin.client.ResourceLoader) MessageHandler(com.vaadin.client.communication.MessageHandler) ServerRpcQueue(com.vaadin.client.communication.ServerRpcQueue) DependencyLoader(com.vaadin.client.DependencyLoader) Registry(com.vaadin.client.Registry) UILifecycle(com.vaadin.client.UILifecycle) RequestResponseTracker(com.vaadin.client.communication.RequestResponseTracker)

Aggregations

DependencyLoader (com.vaadin.client.DependencyLoader)1 Registry (com.vaadin.client.Registry)1 ResourceLoader (com.vaadin.client.ResourceLoader)1 UILifecycle (com.vaadin.client.UILifecycle)1 MessageHandler (com.vaadin.client.communication.MessageHandler)1 RequestResponseTracker (com.vaadin.client.communication.RequestResponseTracker)1 ServerRpcQueue (com.vaadin.client.communication.ServerRpcQueue)1