func (dp *DubboProtocol) Export(invoker protocol.Invoker) protocol.Exporter {
	url := invoker.GetUrl()
	serviceKey := url.ServiceKey()
	exporter := NewDubboExporter(serviceKey, invoker, dp.ExporterMap())
	dp.SetExporterMap(serviceKey, exporter)
	logger.Infof("Export service: %s", url.String())
	// start server
	dp.openServer(url)
	return exporter

}
// Export export dubbo service.
Export export dubbo service.
// Export export dubbo service .
func (dp *DubboProtocol) Export(invoker protocol.Invoker) protocol.Exporter {
	url := invoker.GetUrl()
	serviceKey := url.ServiceKey()
	exporter := NewDubboExporter(serviceKey, invoker, dp.ExporterMap())
	dp.SetExporterMap(serviceKey, exporter)
	logger.Infof("Export service: %s", url.String())
	dp.openServer(url)
	return exporter
}
func ( dp * DubboProtocol ) Export ( invoker protocol . Invoker ) protocol . Exporter { url := invoker . GetUrl ( ) serviceKey := url . ServiceKey ( ) exporter := NewDubboExporter ( serviceKey , invoker , dp . ExporterMap ( ) ) dp . SetExporterMap ( serviceKey , exporter ) logger . Infof ( " " , url . String ( ) ) dp . openServer ( url ) return exporter }
Export export dubbo service.
Export export dubbo service .
// start server