Spring for Apache Hadoop

org.springframework.yarn.test.context
Class YarnClusterInjectingXmlContextLoader

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.GenericXmlContextLoader
              extended by org.springframework.yarn.test.context.YarnClusterInjectingXmlContextLoader
All Implemented Interfaces:
org.springframework.test.context.ContextLoader, org.springframework.test.context.SmartContextLoader

public class YarnClusterInjectingXmlContextLoader
extends org.springframework.test.context.support.GenericXmlContextLoader

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

Author:
Janne Valkealahti

Field Summary
 
Fields inherited from class org.springframework.test.context.support.AbstractGenericContextLoader
logger
 
Constructor Summary
YarnClusterInjectingXmlContextLoader()
           
 
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.GenericXmlContextLoader
createBeanDefinitionReader, getResourceSuffix
 
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
generateDefaultLocations, isGenerateDefaultLocations, modifyLocations, prepareContext, processContextConfiguration, processLocations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YarnClusterInjectingXmlContextLoader

public YarnClusterInjectingXmlContextLoader()
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.AbstractGenericContextLoader

Spring for Apache Hadoop