
```java
 Referred dubbo service org.apache.dubbo.rpc.service.GenericService, dubbo version: 3.0.5-SNAPSHOT
```

```java
if (logger.isInfoEnabled()) {
    logger.info("Referred dubbo service " + interfaceClass.getName());
}
```
invoker.destroy();
            }
        } catch (Throwable t) {
            logger.warn("Unexpected error occurred when destroy invoker of ReferenceConfig(" + url + ").", t);
        }
        invoker = null;
        ref = null;
        if (consumerModel != null) {
            ModuleServiceRepository repository = getScopeModel().getServiceRepository();
            repository.unregisterConsumer(consumerModel);
        }
    }
    protected synchronized void init() {
        if (initialized) {
            return;
        }
        initialized = true;
        if (!this.isRefreshed()) {
            this.refresh();
        }
        // 
        initServiceMetadata(consumer);
        serviceMetadata.setServiceType(getServiceInterfaceClass());
        // 
        serviceMetadata.setServiceKey(URL.buildKey(interfaceName, group, version));
        Map<String, String> referenceParameters = appendConfig();
        // 
        initServiceAppsMapping(referenceParameters);
        ModuleServiceRepository repository = getScopeModel().getServiceRepository();
        ServiceDescriptor serviceDescriptor = repository.registerService(interfaceClass);