use of com.vaadin.client.ApplicationConfiguration in project flow by vaadin.
the class GwtAtmoshperePushConnectionTest method gwtSetUp.
@Override
protected void gwtSetUp() throws Exception {
super.gwtSetUp();
initScheduler(new CustomScheduler());
registry = new Registry() {
{
set(ConstantPool.class, new ConstantPool());
set(StateTree.class, new StateTree(this));
set(URIResolver.class, new URIResolver(this));
set(UILifecycle.class, new UILifecycle());
set(ApplicationConfiguration.class, new ApplicationConfiguration());
set(MessageHandler.class, new MessageHandler(this));
set(PushConfiguration.class, new PushConfiguration(this) {
@Override
public JsMap<String, String> getParameters() {
return JsCollections.map();
}
});
set(ConnectionStateHandler.class, new DefaultConnectionStateHandler(this));
}
};
}
Aggregations