io.imunity.console.ConsoleShellConfigurator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of unity-server-console Show documentation
Show all versions of unity-server-console Show documentation
Task oriented web based administration UI
/*
* Copyright (c) 2021 Bixbit - Krzysztof Benedyczak. All rights reserved.
* See LICENCE.txt file for licensing information.
*/
package io.imunity.console;
import com.vaadin.flow.component.page.AppShellConfigurator;
import com.vaadin.flow.component.page.Push;
import com.vaadin.flow.server.AppShellSettings;
import com.vaadin.flow.shared.ui.Transport;
import io.imunity.vaadin.endpoint.common.FaviconSetuper;
import org.springframework.beans.factory.annotation.Autowired;
import pl.edu.icm.unity.engine.api.config.UnityServerConfiguration;
@Push(transport = Transport.LONG_POLLING)
class ConsoleShellConfigurator implements AppShellConfigurator
{
private final UnityServerConfiguration config;
@Autowired
ConsoleShellConfigurator(UnityServerConfiguration config)
{
this.config = config;
}
@Override
public void configurePage(AppShellSettings settings)
{
FaviconSetuper.setupFavicon(settings, config);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy