org.kuali.rice.test
Class TestHarnessServiceLocator
java.lang.Object
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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
TestHarnessServiceLocator
public TestHarnessServiceLocator()
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-2012 The Kuali Foundation. All Rights Reserved.