org.springframework.yarn.test.context
Class YarnClusterInjectingAnnotationConfigContextLoader

java.lang.Object
  extended by org.springframework.test.context.support.AbstractContextLoader
      extended by org.springframework.test.context.support.AbstractGenericContextLoader
          extended by org.springframework.test.context.support.AnnotationConfigContextLoader
              extended by org.springframework.yarn.test.context.YarnClusterInjectingAnnotationConfigContextLoader
All Implemented Interfaces:
ContextLoader, SmartContextLoader

public class YarnClusterInjectingAnnotationConfigContextLoader
extends AnnotationConfigContextLoader

Extending generic annotation based context loader able to manage and inject Yarn mini clusters. This loader is used from YarnDelegatingSmartContextLoader.

Author:
Janne Valkealahti

Constructor Summary
YarnClusterInjectingAnnotationConfigContextLoader()
           
 
Method Summary
protected  void loadBeanDefinitions(GenericApplicationContext context, MergedContextConfiguration mergedConfig)
           
 
Methods inherited from class org.springframework.test.context.support.AnnotationConfigContextLoader
createBeanDefinitionReader, detectDefaultConfigurationClasses, generateDefaultLocations, getResourceSuffix, modifyLocations, processContextConfiguration, validateMergedContextConfiguration
 
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, prepareContext, processLocations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YarnClusterInjectingAnnotationConfigContextLoader

public YarnClusterInjectingAnnotationConfigContextLoader()
Method Detail

loadBeanDefinitions

protected void loadBeanDefinitions(GenericApplicationContext context,
                                   MergedContextConfiguration mergedConfig)
Overrides:
loadBeanDefinitions in class AnnotationConfigContextLoader