org.springframework.yarn.boot
Class YarnAppmasterAutoConfiguration.RuntimeConfig

java.lang.Object
  extended by org.springframework.yarn.boot.YarnAppmasterAutoConfiguration.RuntimeConfig
Enclosing class:
YarnAppmasterAutoConfiguration

@Configuration
@ConditionalOnClass(value=org.springframework.batch.core.launch.JobLauncher.class)
@EnableConfigurationProperties(value=SpringYarnBatchProperties.class)
public static class YarnAppmasterAutoConfiguration.RuntimeConfig
extends Object


Constructor Summary
YarnAppmasterAutoConfiguration.RuntimeConfig()
           
 
Method Summary
 BootApplicationEventTransformer bootApplicationEventTransformer()
           
 String customAppmasterClass()
           
 YarnJobLauncherCommandLineRunner jobLauncherCommandLineRunner()
           
 TaskExecutor threadPoolTaskExecutor()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YarnAppmasterAutoConfiguration.RuntimeConfig

public YarnAppmasterAutoConfiguration.RuntimeConfig()
Method Detail

threadPoolTaskExecutor

@Bean(name="taskExecutor")
public TaskExecutor threadPoolTaskExecutor()

customAppmasterClass

@Bean
public String customAppmasterClass()

bootApplicationEventTransformer

@Bean
public BootApplicationEventTransformer bootApplicationEventTransformer()

jobLauncherCommandLineRunner

@Bean
@ConditionalOnMissingBean(value=YarnJobLauncherCommandLineRunner.class)
@ConditionalOnBean(value=org.springframework.batch.core.launch.JobLauncher.class)
public YarnJobLauncherCommandLineRunner jobLauncherCommandLineRunner()