public class TinyGenericXmlContextLoader extends AbstractGenericContextLoader
logger| Constructor and Description |
|---|
TinyGenericXmlContextLoader() |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.beans.factory.support.BeanDefinitionReader |
createBeanDefinitionReader(org.springframework.context.support.GenericApplicationContext context)
Create a new
XmlBeanDefinitionReader. |
String |
getResourceSuffix()
Returns "
-context.xml". |
protected void |
postRefresh(org.springframework.context.support.GenericApplicationContext context) |
protected void |
prepareContext(org.springframework.context.support.GenericApplicationContext context)
Prepare the
GenericApplicationContext created by this ContextLoader. |
customizeBeanFactory, customizeContext, loadContextcustomizeContext, generateDefaultLocations, getResourceSuffixes, isGenerateDefaultLocations, modifyLocations, prepareContext, processContextConfiguration, processLocationsprotected org.springframework.beans.factory.support.BeanDefinitionReader createBeanDefinitionReader(org.springframework.context.support.GenericApplicationContext context)
XmlBeanDefinitionReader.createBeanDefinitionReader in class AbstractGenericContextLoadercontext - the context for which the BeanDefinitionReader should be createdXmlBeanDefinitionReaderpublic String getResourceSuffix()
-context.xml".getResourceSuffix in class org.springframework.test.context.support.AbstractContextLoaderprotected void prepareContext(org.springframework.context.support.GenericApplicationContext context)
AbstractGenericContextLoaderGenericApplicationContext created by this ContextLoader.
Called before> bean definitions are read.
The default implementation is empty. Can be overridden in subclasses to customize GenericApplicationContext's standard settings.
prepareContext in class AbstractGenericContextLoadercontext - the context for which the BeanDefinitionReader should be createdAbstractGenericContextLoader.loadContext(java.lang.String...),
GenericApplicationContext.setResourceLoader(org.springframework.core.io.ResourceLoader),
AbstractApplicationContext.setId(java.lang.String)protected void postRefresh(org.springframework.context.support.GenericApplicationContext context)
postRefresh in class AbstractGenericContextLoaderCopyright © 2006–2018 TinyGroup. All rights reserved.