如何在没有ModuleInfo标记的app.config的情况下使用C#通过Emc.Documentum.FS.Runt
本文关键字:通过 Emc Runt FS Documentum 情况下 app ModuleInfo config | 更新日期: 2023-09-27 18:24:47
使用app.config:的示例代码
ContextFactory contextFactory = ContextFactory.Instance;
IServiceContext serviceContext = contextFactory.NewContext();
app.config节,而不是让API直接读取它。
<Emc.Documentum>
<FS>
<ConfigObject type="Emc.Documentum.FS.Runtime.Impl.Configuration.ConfigObject, Emc.Documentum.FS.Runtime"
defaultModuleName="core" registryProviderModuleName="core" requireSignedUcfJars="true">
<ModuleInfo name="core" protocol="http" host="documentum.current.dev" port="9080" contextRoot="services"/>
<ModuleInfo name="search" protocol="http" host="documentum.current.dev" port="9080" contextRoot="services"/>
<ModuleInfo name="bpm" protocol="http" host="documentum.current.dev" port="9080" contextRoot="services"/>
<ModuleInfo name="collaboration" protocol="http" host="documentum.current.dev" port="9080" contextRoot="services" />
</ConfigObject>
</FS>
</Emc.Documentum>
您可以在Documentum开发人员社区中找到答案:
https://community.emc.com/search.jspa?peopleEnabled=true&userID=&containerType=14&容器=2013&聚光灯=false&q=emc.dococumentum.fs.runtime*