org.LexGrid.LexBIG.gridTests.testUtility
Class ServiceHolder

java.lang.Object
  extended by org.LexGrid.LexBIG.gridTests.testUtility.ServiceHolder

public class ServiceHolder
extends java.lang.Object

Singleton class for getting a LexBIGService for the JUnit test cases.

Version:
subversion $Revision: 1.7 $ checked in on $Date: 2007/12/15 00:07:44 $
Author:
Dan Armbrust

Method Summary
 LexBIGService getLexBIGService()
          Gets the lex big service.
 boolean getSingleConfigMode()
          Gets the single config mode.
static java.lang.String getURL()
          Gets the uRL.
static ServiceHolder 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
 

Method Detail

instance

public static ServiceHolder 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 service holder

getLexBIGService

public LexBIGService getLexBIGService()
Gets the lex big service.

Returns:
the lex big service

getSingleConfigMode

public boolean getSingleConfigMode()
Gets the single config mode.

Returns:
the single config mode

getURL

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

Returns:
the uRL

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.