@Test public void testActivate() { assertEquals("Incorrect NetConf session timeout, should be default", 5, ctrl.netconfReplyTimeout); ctrl.activate(null); assertEquals("Incorrect NetConf session timeout, should be default", 5, ctrl.netconfReplyTimeout); }
@Activate public void activate(ComponentContext context) { cfgService.registerProperties(getClass()); modified(context); log.info("Started"); }
NetconfControllerImpl implements NetconfController { @Activate public void activate(ComponentContext context) { cfgService.registerProperties(getClass()); modified(context); log.info("Started"); } }
NetconfControllerImpl implements NetconfController { @Activate public void activate(ComponentContext context) { cfgService.registerProperties(getClass()); modified(context); log.info("Started"); }  }
NetconfControllerImpl implements NetconfController { @Activate public void activate(ComponentContext context) { cfgService.registerProperties(getClass()); modified(context); log.info("Started"); }  @Activate void activate(ComponentContext context); @Deactivate void deactivate(); @Modified void modified(ComponentContext context); @Override void addDeviceListener(NetconfDeviceListener listener); @Override void removeDeviceListener(NetconfDeviceListener listener); @Override NetconfDevice getNetconfDevice(DeviceId deviceInfo); @Override NetconfDevice getNetconfDevice(IpAddress ip, int port); @Override NetconfDevice connectDevice(DeviceId deviceId); @Override void disconnectDevice(DeviceId deviceId, boolean remove); @Override void removeDevice(DeviceId deviceId); @Override Map<DeviceId, NetconfDevice> getDevicesMap(); @Override Set<DeviceId> getNetconfDevices(); }
NetconfControllerImpl implements NetconfController { @Activate public void activate(ComponentContext context) { cfgService.registerProperties(getClass()); modified(context); log.info("Started"); }  @Activate void activate(ComponentContext context); @Deactivate void deactivate(); @Modified void modified(ComponentContext context); @Override void addDeviceListener(NetconfDeviceListener listener); @Override void removeDeviceListener(NetconfDeviceListener listener); @Override NetconfDevice getNetconfDevice(DeviceId deviceInfo); @Override NetconfDevice getNetconfDevice(IpAddress ip, int port); @Override NetconfDevice connectDevice(DeviceId deviceId); @Override void disconnectDevice(DeviceId deviceId, boolean remove); @Override void removeDevice(DeviceId deviceId); @Override Map<DeviceId, NetconfDevice> getDevicesMap(); @Override Set<DeviceId> getNetconfDevices(); static final Logger log; }