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
精彩评论