public abstract class AbstractMockServicesAwareDataLoader extends Object implements ApplicationContextAware, TestAwareDataLoader
| Modifier and Type | Field and Description |
|---|---|
protected ApplicationContext |
applicationContext |
protected ContextInfo |
context |
protected boolean |
initialized |
| Constructor and Description |
|---|
AbstractMockServicesAwareDataLoader() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterTest()
Called after the last test was run.
|
void |
beforeTest()
Called before the next test is to be run.
|
protected abstract void |
initializeData()
Child classes implement this method to add data into the mock services.
|
boolean |
isInitialized() |
void |
setApplicationContext(ApplicationContext applicationContext) |
protected ApplicationContext applicationContext
protected boolean initialized
protected final ContextInfo context
public AbstractMockServicesAwareDataLoader()
public final void setApplicationContext(ApplicationContext applicationContext) throws BeansException
setApplicationContext in interface ApplicationContextAwareBeansExceptionpublic final void beforeTest() throws Exception
TestAwareDataLoaderbeforeTest in interface TestAwareDataLoaderExceptionprotected abstract void initializeData() throws Exception
Exceptionpublic final boolean isInitialized()
public final void afterTest() throws Exception
TestAwareDataLoaderafterTest in interface TestAwareDataLoaderExceptionCopyright © 2004-2013 The Kuali Foundation. All Rights Reserved.