开发者

How to set host and port in full java without dmcl.ini

开发者 https://www.devze.com 2023-01-18 09:45 出处:网络
Using Documentum DFC, I would like to set up a docbase connection without using a dmcl.ini. How can I d开发者_StackOverflow社区o such a thing?You can inject docbroker data into the DFC with Java like

Using Documentum DFC, I would like to set up a docbase connection without using a dmcl.ini.

How can I d开发者_StackOverflow社区o such a thing?


You can inject docbroker data into the DFC with Java like this :

IDfClient client = new DfClient()
IDfTypedObject config = client.getClientConfig();
config.setString("primary_host", <docbroker adress>);
config.setInt("primary_port", <docbroker port>);

IDfSessionManager manager = client.newSessionManager();
//use manager like usual
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号