URI uri = configFile.toURI();
loadConfiguration(uri);
}
private void loadConfiguration(URI uri) {
LeadDeploymentConfig config = LeadDeploymentConfig
.loadConfig(null, uri);
URI gpel = config.getGpelUrl();
if (gpel != null) {
this.gpelEngineURL = config.getGpelUrl();
}
URI gfac = config.getGfacUrl();
if (gfac != null) {
this.gfacURL = gfac;
}
URI dsc = config.getDscUrl();
if (dsc != null) {
this.dscURL = dsc;
}
URI mylead = config.getMyLeadAgentUrl();
if (mylead != null) {
this.myLeadAgentURL = mylead;
}
URI broker = config.getBrokerUrl();
if (broker != null) {
this.brokerURL = broker;
}
URI msgBox = config.getMsgBoxUrl();
if (msgBox != null) {
this.messageBoxURL = msgBox;
}
}