提供者配置
在 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.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
最后修改 July 24, 2022: Add some migration notification for docs (#1284) (edfee01a11)