Spring for Apache Hadoop

org.springframework.yarn.config.annotation.builders
Class SpringYarnConfigBuilder

java.lang.Object
  extended by org.springframework.data.hadoop.config.common.annotation.AbstractAnnotationBuilder<O>
      extended by org.springframework.data.hadoop.config.common.annotation.AbstractConfiguredAnnotationBuilder<SpringYarnConfigs,SpringYarnConfigBuilder,SpringYarnConfigBuilder>
          extended by org.springframework.yarn.config.annotation.builders.SpringYarnConfigBuilder
All Implemented Interfaces:
AnnotationBuilder<SpringYarnConfigs>

public class SpringYarnConfigBuilder
extends AbstractConfiguredAnnotationBuilder<SpringYarnConfigs,SpringYarnConfigBuilder,SpringYarnConfigBuilder>

AnnotationBuilder for SpringYarnConfigs.

Author:
Janne Valkealahti

Constructor Summary
SpringYarnConfigBuilder()
          Instantiates a new spring yarn config builder.
 
Method Summary
protected  SpringYarnConfigs performBuild()
          Subclasses must implement this method to build the object that is being returned.
 void setYarnConfiguration(org.apache.hadoop.conf.Configuration yarnConfiguration)
          Sets the yarn configuration.
 
Methods inherited from class org.springframework.data.hadoop.config.common.annotation.AbstractConfiguredAnnotationBuilder
apply, apply, beforeConfigureMains, beforeConfigurePosts, beforeInit, doBuild, getConfigurer, getConfigurers, getOrApply, getOrBuild, getSharedObject, getSharedObjects, objectPostProcessor, postProcess, removeConfigurer, removeConfigurers, setSharedObject
 
Methods inherited from class org.springframework.data.hadoop.config.common.annotation.AbstractAnnotationBuilder
build, getObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringYarnConfigBuilder

public SpringYarnConfigBuilder()
Instantiates a new spring yarn config builder.

Method Detail

performBuild

protected SpringYarnConfigs performBuild()
                                  throws java.lang.Exception
Description copied from class: AbstractConfiguredAnnotationBuilder
Subclasses must implement this method to build the object that is being returned.

Specified by:
performBuild in class AbstractConfiguredAnnotationBuilder<SpringYarnConfigs,SpringYarnConfigBuilder,SpringYarnConfigBuilder>
Returns:
Object build by this builder
Throws:
java.lang.Exception

setYarnConfiguration

public void setYarnConfiguration(org.apache.hadoop.conf.Configuration yarnConfiguration)
Sets the yarn configuration.

Parameters:
yarnConfiguration - the new yarn configuration

Spring for Apache Hadoop