org.LexGrid.LexBIG.cagrid.test.setup
Class LexEVSDataServiceHolder

java.lang.Object
  extended by org.LexGrid.LexBIG.cagrid.test.setup.LexEVSDataServiceHolder

public class LexEVSDataServiceHolder
extends java.lang.Object


Field Summary
private  LexEVSDataServiceClient service
           
private static java.lang.String serviceUrl
           
private static LexEVSDataServiceHolder sh_
           
private  gov.nih.nci.cagrid.data.client.DataServiceClient standardService
           
 
Constructor Summary
private LexEVSDataServiceHolder()
          Instantiates a new eVS query service holder.
 
Method Summary
private static void configure()
          Use this to set up the tests for end user enviroment validation.
 LexEVSDataServiceClient getLexEVSAppService()
          Gets the app service.
 gov.nih.nci.cagrid.data.client.DataServiceClient getStandardService()
           
static java.lang.String getURL()
          Gets the uRL.
static LexEVSDataServiceHolder instance()
          Use this to get an instance of the ServiceHolder.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sh_

private static LexEVSDataServiceHolder sh_

serviceUrl

private static final java.lang.String serviceUrl

service

private LexEVSDataServiceClient service

standardService

private gov.nih.nci.cagrid.data.client.DataServiceClient standardService
Constructor Detail

LexEVSDataServiceHolder

private LexEVSDataServiceHolder()
Instantiates a new eVS query service holder.

Method Detail

instance

public static LexEVSDataServiceHolder instance()
Use this to get an instance of the ServiceHolder. If 'configureForSingleConfig' has not been called, this will run the tests on all configured databases in the testConfig.props file.

Returns:
the EVS query service holder

configure

private static void configure()
Use this to set up the tests for end user enviroment validation. Only runs the tests once, using their normal config file.


getURL

public static java.lang.String getURL()
Gets the uRL.

Returns:
the uRL

getLexEVSAppService

public LexEVSDataServiceClient getLexEVSAppService()
Gets the app service.

Returns:
an instance of the app service

getStandardService

public gov.nih.nci.cagrid.data.client.DataServiceClient getStandardService()