@Configuration
@ConditionalOnExpression(value="${spring.yarn.endpoints.containerregister.enabled:false}")
public static class YarnAppmasterAutoConfiguration.ContainerRegisterEndPointConfig
extends java.lang.Object
Constructor and Description |
---|
YarnAppmasterAutoConfiguration.ContainerRegisterEndPointConfig() |
Modifier and Type | Method and Description |
---|---|
ContainerShutdown |
containerShutdown() |
YarnContainerRegisterEndpoint |
yarnContainerRegisterEndpoint() |
YarnContainerRegisterMvcEndpoint |
yarnContainerRegisterMvcEndpoint(YarnContainerRegisterEndpoint delegate) |
public YarnAppmasterAutoConfiguration.ContainerRegisterEndPointConfig()
@Bean @ConditionalOnMissingBean public YarnContainerRegisterEndpoint yarnContainerRegisterEndpoint()
@Bean @ConditionalOnBean(value=YarnContainerRegisterEndpoint.class) public YarnContainerRegisterMvcEndpoint yarnContainerRegisterMvcEndpoint(YarnContainerRegisterEndpoint delegate)
@ConditionalOnExpression(value="${endpoints.shutdown.enabled:false}") @Bean(name="yarnContainerShutdown") public ContainerShutdown containerShutdown()