You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2018/09/19 16:14:28 UTC

[GitHub] valiantwu commented on issue #2400: ReferenceConfig(dubbo://127.0.0.1:20880) is not DESTROYED when FINALIZ

valiantwu commented on issue #2400: ReferenceConfig(dubbo://127.0.0.1:20880) is not DESTROYED when FINALIZ
URL: https://github.com/apache/incubator-dubbo/issues/2400#issuecomment-422864221
 
 
   ReferenceConfig referenceConfig = new ReferenceConfig();
               referenceConfig.setApplication(applicationConfig);
   //            referenceConfig.setId(inter);
               referenceConfig.setInterface(model);
   //            referenceConfig.setInterface(inter);
               referenceConfig.setCheck(true);
               referenceConfig.setProtocol(System.getProperty("dubbo.protocol.name", "dubbo"));
               referenceConfig.setUrl(System.getProperty("dubbo.consumer.url", "dubbo://127.0.0.1:20880"));
               referenceConfig.setRegistry(registryConfig);
               referenceConfig.setConsumer(consumerConfig);
   创建一个ReferenceConfig对象然后设置相应的值,运行会报这个错误哦

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org