提供者配置

在 erlang 中配置服务提供者

此文档已经不再维护。您当前查看的是快照版本。如果想要查看最新版本的文档,请参阅最新版本

基本配置

提供者配置项需要添加到 sys.config 文件 dubboerl 应用配置项里。

{dubboerl,[
	%% other config ...
	{provider,[
		{module_implements,interface_module,interface_fullname,[Options]},
		%% eg:
		{userOperator_impl,userOperator,<<"org.apache.dubbo.erlang.sample.service.facade.UserOperator">>,[Option]}
	]}
]}
ConfigNameTypeDefaultValueRemarks
module_implementsatom()-The service implements module name
interface_moduleatom()-Interface module name is transfer form java jar
interface_fullnamebinary()-Interface full name is the java class name

Option is to be added.


最后修改 March 1, 2023: Move sdk docs (#2337) (ceab0ea115a)