ConfigManagementFactory factory, AgentServiceStreamRemoter streamRemoter, InventoryManager inventoryManager) {
super(ConfigurationAgentService.class, streamRemoter);
this.componentService = componentService;
configMgmtFactory = factory;
pluginContainerConfiguration = configuration;
LoggingThreadFactory threadFactory = new LoggingThreadFactory(SENDER_THREAD_POOL_NAME, true);
threadPool = new ScheduledThreadPoolExecutor(1, threadFactory);
if (pluginContainerConfiguration.getConfigurationDiscoveryInterval() > 0
&& pluginContainerConfiguration.getConfigurationDiscoveryPeriod() > 0
&& pluginContainerConfiguration.isInsideAgent()) {