Spring for Apache Hadoop

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:
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

Constructor Summary
YarnClusterInjectingAnnotationConfigContextLoader()
           
 
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, 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(org.springframework.context.support.GenericApplicationContext context,
                                   org.springframework.test.context.MergedContextConfiguration mergedConfig)
Overrides:
loadBeanDefinitions in class org.springframework.test.context.support.AnnotationConfigContextLoader

Spring for Apache Hadoop