@Configuration @ConditionalOnClass(value=org.springframework.batch.core.launch.JobLauncher.class) @EnableConfigurationProperties(value=SpringYarnBatchProperties.class) public static class YarnAppmasterAutoConfiguration.RuntimeConfig extends java.lang.Object
Constructor and Description |
---|
YarnAppmasterAutoConfiguration.RuntimeConfig() |
Modifier and Type | Method and Description |
---|---|
BootApplicationEventTransformer |
bootApplicationEventTransformer() |
java.lang.String |
customAppmasterClass() |
org.springframework.core.task.TaskExecutor |
threadPoolTaskExecutor() |
YarnJobLauncher |
yarnJobLauncher() |
public YarnAppmasterAutoConfiguration.RuntimeConfig()
@Bean(name="taskExecutor") public org.springframework.core.task.TaskExecutor threadPoolTaskExecutor()
@Bean public java.lang.String customAppmasterClass()
@Bean public BootApplicationEventTransformer bootApplicationEventTransformer()
@Bean @ConditionalOnMissingBean(value=YarnJobLauncher.class) @ConditionalOnBean(value=org.springframework.batch.core.launch.JobLauncher.class) public YarnJobLauncher yarnJobLauncher()