org.kuali.rice.test
Class TestHarnessServiceLocator

java.lang.Object
  extended by org.kuali.rice.test.TestHarnessServiceLocator

public class TestHarnessServiceLocator
extends Object

Locator that sits on the testharness SpringContext. This doesn't defer to the GlobalResourceLoader because I'm not sure the test harness justifies the extra setup at the moment. If/when the testharness SpringResourceLoader is placed in the GlobalResourceLoader this can delegate to that GlobalResourceLoader.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
static String DATA_SOURCE
           
static String TRANSACTON_MANAGER
           
static String USER_TRANSACTION
           
 
Constructor Summary
TestHarnessServiceLocator()
           
 
Method Summary
static org.springframework.context.ConfigurableApplicationContext getContext()
           
static DataSource getDataSource()
           
static org.springframework.transaction.jta.JtaTransactionManager getJtaTransactionManager()
           
static Object getService(String serviceName)
           
static UserTransaction getUserTransaction()
           
static void setContext(org.springframework.context.ConfigurableApplicationContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USER_TRANSACTION

public static final String USER_TRANSACTION
See Also:
Constant Field Values

TRANSACTON_MANAGER

public static final String TRANSACTON_MANAGER
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values
Constructor Detail

TestHarnessServiceLocator

public TestHarnessServiceLocator()
Method Detail

getService

public static Object getService(String serviceName)

getDataSource

public static DataSource getDataSource()

getJtaTransactionManager

public static org.springframework.transaction.jta.JtaTransactionManager getJtaTransactionManager()

getUserTransaction

public static UserTransaction getUserTransaction()

getContext

public static org.springframework.context.ConfigurableApplicationContext getContext()

setContext

public static void setContext(org.springframework.context.ConfigurableApplicationContext context)


Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.