Spring for Apache Hadoop

org.springframework.data.hadoop.test.context
Class HadoopClusterInjectingXmlContextLoader

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.data.hadoop.test.context.HadoopClusterInjectingXmlContextLoader
All Implemented Interfaces:
org.springframework.test.context.ContextLoader, org.springframework.test.context.SmartContextLoader

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

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

Author:
Janne Valkealahti

Field Summary
 
Fields inherited from class org.springframework.test.context.support.AbstractGenericContextLoader
logger
 
Constructor Summary
HadoopClusterInjectingXmlContextLoader()
           
 
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

HadoopClusterInjectingXmlContextLoader

public HadoopClusterInjectingXmlContextLoader()
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