org.springframework.yarn.test.context
Class YarnClusterInjectingAnnotationConfigContextLoader
java.lang.Object
org.springframework.test.context.support.AbstractContextLoader
org.springframework.test.context.support.AbstractGenericContextLoader
org.springframework.test.context.support.AnnotationConfigContextLoader
org.springframework.yarn.test.context.YarnClusterInjectingAnnotationConfigContextLoader
- All Implemented Interfaces:
- org.springframework.test.context.ContextLoader, org.springframework.test.context.SmartContextLoader
public class YarnClusterInjectingAnnotationConfigContextLoader
- extends org.springframework.test.context.support.AnnotationConfigContextLoader
Extending generic annotation based context loader able to
manage and inject Yarn mini clusters. This loader is
used from YarnDelegatingSmartContextLoader
.
- Author:
- Janne Valkealahti
Method Summary |
protected void |
loadBeanDefinitions(org.springframework.context.support.GenericApplicationContext context,
org.springframework.test.context.MergedContextConfiguration mergedConfig)
|
Methods inherited from class org.springframework.test.context.support.AnnotationConfigContextLoader |
createBeanDefinitionReader, detectDefaultConfigurationClasses, generateDefaultLocations, getResourceSuffix, modifyLocations, processContextConfiguration |
Methods inherited from class org.springframework.test.context.support.AbstractGenericContextLoader |
customizeBeanFactory, customizeContext, loadContext, loadContext, prepareContext |
Methods inherited from class org.springframework.test.context.support.AbstractContextLoader |
isGenerateDefaultLocations, processLocations |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
YarnClusterInjectingAnnotationConfigContextLoader
public YarnClusterInjectingAnnotationConfigContextLoader()
loadBeanDefinitions
protected void loadBeanDefinitions(org.springframework.context.support.GenericApplicationContext context,
org.springframework.test.context.MergedContextConfiguration mergedConfig)
- Overrides:
loadBeanDefinitions
in class org.springframework.test.context.support.AnnotationConfigContextLoader