sparqlGraphLibrary/src/main/java/com/ge/research/semtk/sparqlX/dispatch/DispatchServiceManager.java
private void calcClientConfigs() throws Exception {
		
		Table tab = DispatchServiceManager.edcTypeCache.getSubsetWhereMatches("mnemonic", this.serviceMnemonic);
		if (tab.getNumRows() == 0) {
			throw new Exception("No generate service found for: " + this.serviceMnemonic);
		} else if (tab.getNumRows() > 1) {
			throw new Exception("Not implemented: multiple generate services found for: " + this.serviceMnemonic);
		}

		this.generateClientType = tab.getCell(0, "genClientType");
		this.generateClientConfig = new QueryGenClientConfig(	
				tab.getCell(0, "genProtocol"),
				tab.getCell(0, "genUrl"),
				tab.getCellAsInt(0, "genPort"),
				tab.getCell(0, "genEndpoint")
				);
		
		this.executeClientType = tab.getCell(0, "exeClientType");
		this.executeClientConfig = new ExecuteClientConfig(	
				tab.getCell(0, "exeProtocol"),
				tab.getCell(0, "exeUrl"),
				tab.getCellAsInt(0, "exePort"),
				tab.getCell(0, "exeEndpoint"),
				null
				);
	}
/**
	 * Create a config for the generate query client
	 * Depends upon serviceMnemonic 
	 * @return
	 * @throws Exception
	 */
Create a config for the generate query client
Depends upon serviceMnemonic
@return
@throws Exception
Create a config for the generate query client Depends upon serviceMnemonic @return @throws Exception
private void calcClientConfigs() throws Exception {
		Table tab = DispatchServiceManager.edcTypeCache.getSubsetWhereMatches("mnemonic", this.serviceMnemonic);
		if (tab.getNumRows() == 0) {
			throw new Exception("No generate service found for: " + this.serviceMnemonic);
		} else if (tab.getNumRows() > 1) {
			throw new Exception("Not implemented: multiple generate services found for: " + this.serviceMnemonic);
		}
		this.generateClientType = tab.getCell(0, "genClientType");
		this.generateClientConfig = new QueryGenClientConfig(	
				tab.getCell(0, "genProtocol"),
				tab.getCell(0, "genUrl"),
				tab.getCellAsInt(0, "genPort"),
				tab.getCell(0, "genEndpoint")
				);
		this.executeClientType = tab.getCell(0, "exeClientType");
		this.executeClientConfig = new ExecuteClientConfig(	
				tab.getCell(0, "exeProtocol"),
				tab.getCell(0, "exeUrl"),
				tab.getCellAsInt(0, "exePort"),
				tab.getCell(0, "exeEndpoint"),
				null
				);
	}
private void calcClientConfigs ( ) throws Exception { Table tab = DispatchServiceManager . edcTypeCache . getSubsetWhereMatches ( "mnemonic" , this . serviceMnemonic ) ; if ( tab . getNumRows ( ) == 0 ) { throw new Exception ( "No generate service found for: " + this . serviceMnemonic ) ; } else if ( tab . getNumRows ( ) > 1 ) { throw new Exception ( "Not implemented: multiple generate services found for: " + this . serviceMnemonic ) ; } this . generateClientType = tab . getCell ( 0 , "genClientType" ) ; this . generateClientConfig = new QueryGenClientConfig ( tab . getCell ( 0 , "genProtocol" ) , tab . getCell ( 0 , "genUrl" ) , tab . getCellAsInt ( 0 , "genPort" ) , tab . getCell ( 0 , "genEndpoint" ) ) ; this . executeClientType = tab . getCell ( 0 , "exeClientType" ) ; this . executeClientConfig = new ExecuteClientConfig ( tab . getCell ( 0 , "exeProtocol" ) , tab . getCell ( 0 , "exeUrl" ) , tab . getCellAsInt ( 0 , "exePort" ) , tab . getCell ( 0 , "exeEndpoint" ) , null ) ; }
Create a config for the generate query client
 Depends upon serviceMnemonic
 @return
 @throws Exception
Create a config for the generate query client Depends upon serviceMnemonic @return @throws Exception