提供者配置
在 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]}
]}
]}
ConfigName | Type | DefaultValue | Remarks |
---|---|---|---|
module_implements | atom() | - | The service implements module name |
interface_module | atom() | - | Interface module name is transfer form java jar |
interface_fullname | binary() | - | Interface full name is the java class name |
Option is to be added.
最后修改 September 13, 2024: Refactor website structure (#2860) (1a4b998f54b)