public class TestHarnessServiceLocator extends Object
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
.Modifier and Type | Field and Description |
---|---|
static String |
DATA_SOURCE |
static String |
TRANSACTON_MANAGER |
static String |
USER_TRANSACTION |
Constructor and Description |
---|
TestHarnessServiceLocator() |
Modifier and Type | Method and Description |
---|---|
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) |
public static final String USER_TRANSACTION
public static final String TRANSACTON_MANAGER
public static final String DATA_SOURCE
public TestHarnessServiceLocator()
public static Object getService(String serviceName)
public static DataSource getDataSource()
public static org.springframework.transaction.jta.JtaTransactionManager getJtaTransactionManager()
public static UserTransaction getUserTransaction()
public static org.springframework.context.ConfigurableApplicationContext getContext()
public static void setContext(org.springframework.context.ConfigurableApplicationContext context)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.