开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜