@Activate public void activate() { appId = coreService.registerApplication(APP_NAME); providerService = providerRegistry.register(this); cfgService.registerConfigFactory(factory); cfgService.addListener(cfgLister); connectDevices(); log.info("Started"); }
@Activate public void activate() { providerService = providerRegistry.register(this); appId = coreService.registerApplication(APP_NAME); cfgService.registerConfigFactory(factory); cfgService.addListener(cfgLister); controller.addDeviceListener(innerNodeListener); executor.execute(NetconfDeviceProvider.this::connectDevices); log.info("Started"); }
private void register() { deviceProviderService = deviceProviderRegistry.register(this); linkProviderService = linkProviderRegistry.register(this); hostProviderService = hostProviderRegistry.register(this); }