test_class.declarator: listener
test_class.modifier: private
test_class.original_string: private LoggingEventListener listener;
test_class.type: LoggingEventListener
test_class.var_name: listener
test_class.file: dubbo-registry/dubbo-registry-api/src/test/java/org/apache/dubbo/registry/client/event/listener/LoggingEventListenerTest.java
test_class.identifier: LoggingEventListenerTest
test_case.body: @Test
      public void testOnEvent() throws Exception {
  
          URL connectionURL = URL.valueOf("file:///Users/Home");
  
          ServiceDiscovery serviceDiscovery = new FileSystemServiceDiscovery();
  
          serviceDiscovery.initialize(connectionURL);
  
          // ServiceDiscoveryStartingEvent
          listener.onEvent(new ServiceDiscoveryInitializingEvent(serviceDiscovery, serviceDiscovery));
  
          // ServiceDiscoveryStartedEvent
          listener.onEvent(new ServiceDiscoveryInitializedEvent(serviceDiscovery, serviceDiscovery));
  
          // ServiceInstancePreRegisteredEvent
          listener.onEvent(new ServiceInstancePreRegisteredEvent(serviceDiscovery, createInstance()));
  
          // ServiceInstanceRegisteredEvent
          listener.onEvent(new ServiceInstanceRegisteredEvent(serviceDiscovery, createInstance()));
  
          // ServiceInstancesChangedEvent
          listener.onEvent(new ServiceInstancesChangedEvent("test", Arrays.asList(createInstance())));
  
          // ServiceInstancePreUnregisteredEvent
          listener.onEvent(new ServiceInstancePreUnregisteredEvent(serviceDiscovery, createInstance()));
  
          // ServiceInstanceUnregisteredEvent
          listener.onEvent(new ServiceInstanceUnregisteredEvent(serviceDiscovery, createInstance()));
  
          // ServiceDiscoveryStoppingEvent
          listener.onEvent(new ServiceDiscoveryDestroyingEvent(serviceDiscovery, serviceDiscovery));
  
          // ServiceDiscoveryStoppedEvent
          listener.onEvent(new ServiceDiscoveryDestroyedEvent(serviceDiscovery, serviceDiscovery));
      }
test_case.class_method_signature: LoggingEventListenerTest.testOnEvent()
test_case.full_signature: @Test public void testOnEvent()
test_case.identifier: testOnEvent
test_case.invocations: valueOf initialize onEvent onEvent onEvent createInstance onEvent createInstance onEvent asList createInstance onEvent createInstance onEvent createInstance onEvent onEvent
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testOnEvent()
focal_class.declarator: logger = LoggerFactory.getLogger(getClass())
focal_class.modifier: private final
focal_class.original_string: private final Logger logger = LoggerFactory.getLogger(getClass());
focal_class.type: Logger
focal_class.var_name: logger
focal_class.file: dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/event/listener/LoggingEventListener.java
focal_class.identifier: LoggingEventListener
focal_class.class_method_signature: LoggingEventListener.onEvent(ServiceDiscoveryInitializingEvent event)
focal_class.full_signature: public void onEvent(ServiceDiscoveryInitializingEvent event)
focal_class.identifier: onEvent
focal_class.modifiers: public
focal_class.parameters: (ServiceDiscoveryInitializingEvent event)
focal_class.return: void
focal_class.signature: void onEvent(ServiceDiscoveryInitializingEvent event)
focal_class.class_method_signature: LoggingEventListener.onEvent(ServiceDiscoveryInitializedEvent event)
focal_class.full_signature: public void onEvent(ServiceDiscoveryInitializedEvent event)
focal_class.identifier: onEvent
focal_class.modifiers: public
focal_class.parameters: (ServiceDiscoveryInitializedEvent event)
focal_class.return: void
focal_class.signature: void onEvent(ServiceDiscoveryInitializedEvent event)
focal_class.class_method_signature: LoggingEventListener.onEvent(ServiceInstancePreRegisteredEvent event)
focal_class.full_signature: public void onEvent(ServiceInstancePreRegisteredEvent event)
focal_class.identifier: onEvent
focal_class.modifiers: public
focal_class.parameters: (ServiceInstancePreRegisteredEvent event)
focal_class.return: void
focal_class.signature: void onEvent(ServiceInstancePreRegisteredEvent event)
focal_class.class_method_signature: LoggingEventListener.onEvent(ServiceInstanceRegisteredEvent event)
focal_class.full_signature: public void onEvent(ServiceInstanceRegisteredEvent event)
focal_class.identifier: onEvent
focal_class.modifiers: public
focal_class.parameters: (ServiceInstanceRegisteredEvent event)
focal_class.return: void
focal_class.signature: void onEvent(ServiceInstanceRegisteredEvent event)
focal_class.class_method_signature: LoggingEventListener.onEvent(ServiceInstancesChangedEvent event)
focal_class.full_signature: public void onEvent(ServiceInstancesChangedEvent event)
focal_class.identifier: onEvent
focal_class.modifiers: public
focal_class.parameters: (ServiceInstancesChangedEvent event)
focal_class.return: void
focal_class.signature: void onEvent(ServiceInstancesChangedEvent event)
focal_class.class_method_signature: LoggingEventListener.onEvent(ServiceInstancePreUnregisteredEvent event)
focal_class.full_signature: public void onEvent(ServiceInstancePreUnregisteredEvent event)
focal_class.identifier: onEvent
focal_class.modifiers: public
focal_class.parameters: (ServiceInstancePreUnregisteredEvent event)
focal_class.return: void
focal_class.signature: void onEvent(ServiceInstancePreUnregisteredEvent event)
focal_class.class_method_signature: LoggingEventListener.onEvent(ServiceInstanceUnregisteredEvent event)
focal_class.full_signature: public void onEvent(ServiceInstanceUnregisteredEvent event)
focal_class.identifier: onEvent
focal_class.modifiers: public
focal_class.parameters: (ServiceInstanceUnregisteredEvent event)
focal_class.return: void
focal_class.signature: void onEvent(ServiceInstanceUnregisteredEvent event)
focal_class.class_method_signature: LoggingEventListener.onEvent(ServiceDiscoveryDestroyingEvent event)
focal_class.full_signature: public void onEvent(ServiceDiscoveryDestroyingEvent event)
focal_class.identifier: onEvent
focal_class.modifiers: public
focal_class.parameters: (ServiceDiscoveryDestroyingEvent event)
focal_class.return: void
focal_class.signature: void onEvent(ServiceDiscoveryDestroyingEvent event)
focal_class.class_method_signature: LoggingEventListener.onEvent(ServiceDiscoveryDestroyedEvent event)
focal_class.full_signature: public void onEvent(ServiceDiscoveryDestroyedEvent event)
focal_class.identifier: onEvent
focal_class.modifiers: public
focal_class.parameters: (ServiceDiscoveryDestroyedEvent event)
focal_class.return: void
focal_class.signature: void onEvent(ServiceDiscoveryDestroyedEvent event)
focal_class.class_method_signature: LoggingEventListener.info(String pattern, Object... args)
focal_class.full_signature: private void info(String pattern, Object... args)
focal_class.identifier: info
focal_class.modifiers: private
focal_class.parameters: (String pattern, Object... args)
focal_class.return: void
focal_class.signature: void info(String pattern, Object... args)
focal_class.superclass: extends GenericEventListener
focal_method.body: public void onEvent(ServiceDiscoveryInitializingEvent event) {
          info("%s is initializing...", event.getServiceDiscovery());
      }
focal_method.class_method_signature: LoggingEventListener.onEvent(ServiceDiscoveryInitializingEvent event)
focal_method.full_signature: public void onEvent(ServiceDiscoveryInitializingEvent event)
focal_method.identifier: onEvent
focal_method.invocations: info getServiceDiscovery
focal_method.modifiers: public
focal_method.parameters: (ServiceDiscoveryInitializingEvent event)
focal_method.return: void
focal_method.signature: void onEvent(ServiceDiscoveryInitializingEvent event)