@Test public void testRemoveListener() throws NacosException { final Listener listener = new AbstractListener() { @Override public void receiveConfigInfo(String configInfo) { } }; context.addApplicationListener( new ApplicationListener<NacosConfigListenerRegisteredEvent>() { @Override public void onApplicationEvent( NacosConfigListenerRegisteredEvent event) { assertNacosConfigEvent(event); Assert.assertFalse(event.isRegistered()); Assert.assertEquals(listener, event.getListener()); } }); configService.removeListener(DATA_ID, GROUP_ID, listener); }
@Override public void removeListener(String dataId, String group, Listener listener) { configService.removeListener(dataId, group, listener); publishEvent(new NacosConfigListenerRegisteredEvent(configService, dataId, group, listener, false)); }
EventPublishingConfigService implements ConfigService, NacosServiceMetaData { @Override public void removeListener(String dataId, String group, Listener listener) { configService.removeListener(dataId, group, listener); publishEvent(new NacosConfigListenerRegisteredEvent(configService, dataId, group, listener, false)); } }
EventPublishingConfigService implements ConfigService, NacosServiceMetaData { @Override public void removeListener(String dataId, String group, Listener listener) { configService.removeListener(dataId, group, listener); publishEvent(new NacosConfigListenerRegisteredEvent(configService, dataId, group, listener, false)); } EventPublishingConfigService(ConfigService configService,
			Properties properties, ConfigurableApplicationContext context,
			Executor executor); }
EventPublishingConfigService implements ConfigService, NacosServiceMetaData { @Override public void removeListener(String dataId, String group, Listener listener) { configService.removeListener(dataId, group, listener); publishEvent(new NacosConfigListenerRegisteredEvent(configService, dataId, group, listener, false)); } EventPublishingConfigService(ConfigService configService,
			Properties properties, ConfigurableApplicationContext context,
			Executor executor); @Override String getConfig(String dataId, String group, long timeoutMs); @Override String getConfigAndSignListener(String dataId, String group, long timeoutMs,
			Listener listener); void addListener(String dataId, String group, String type, Listener listener); @Override void addListener(String dataId, String group, Listener listener); @Override boolean publishConfig(String dataId, String group, String content); @Override boolean removeConfig(String dataId, String group); @Override void removeListener(String dataId, String group, Listener listener); @Override String getServerStatus(); @Override Properties getProperties(); }
EventPublishingConfigService implements ConfigService, NacosServiceMetaData { @Override public void removeListener(String dataId, String group, Listener listener) { configService.removeListener(dataId, group, listener); publishEvent(new NacosConfigListenerRegisteredEvent(configService, dataId, group, listener, false)); } EventPublishingConfigService(ConfigService configService,
			Properties properties, ConfigurableApplicationContext context,
			Executor executor); @Override String getConfig(String dataId, String group, long timeoutMs); @Override String getConfigAndSignListener(String dataId, String group, long timeoutMs,
			Listener listener); void addListener(String dataId, String group, String type, Listener listener); @Override void addListener(String dataId, String group, Listener listener); @Override boolean publishConfig(String dataId, String group, String content); @Override boolean removeConfig(String dataId, String group); @Override void removeListener(String dataId, String group, Listener listener); @Override String getServerStatus(); @Override Properties getProperties();  }