org.bidib.wizard.tracer.client.config.TracerClientConfig Maven / Gradle / Ivy
package org.bidib.wizard.tracer.client.config;
import org.bidib.wizard.common.model.settings.TracerServiceSettingsInterface;
import org.bidib.wizard.core.service.SystemInfoService;
import org.bidib.wizard.tracer.client.preferences.view.panel.TracerServiceSettingsPanel;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Lazy;
@Configuration
public class TracerClientConfig {
private static final Logger LOGGER = LoggerFactory.getLogger(TracerClientConfig.class);
@Bean
@Lazy
TracerServiceSettingsPanel tracerServiceSettingsPanel(
final TracerServiceSettingsInterface tracerServiceSettings, final SystemInfoService systemInfoService) {
LOGGER.info("Create new instance of TracerServiceSettingsPanel.");
return new TracerServiceSettingsPanel(tracerServiceSettings, systemInfoService);
}
}