本地注入providerApplicationConfig ac = new ApplicationConfig();
ac.setName("provider");
RegistryConfig rc = new RegistryConfig();
rc.setAddress("zookeeper://192.168.16.47:2181?backup=192.168.16.47:3181,192.168.16.47:4181");
rc.setProtocol("zookeeper");
ReferenceConfig<ZqtongCompanyService> rcc = new ReferenceConfig<>();
rcc.setTimeout(300000);
rcc.setRegistry(rc);
rcc.setApplication(ac);
rcc.setVersion(Const.AGCS_QIXINCHA_HBASE_VERSION);
rcc.setCheck(true);
rcc.setInterface(ZqtongCompanyService.class);
rcc.setOwner("ceasr");
rcc.setUrl("dubbo://192.168.16.35:21892");
zqtongCompanyService = rcc.get();