@Configuration @EnableConfigurationProperties(value={SpringYarnEnvProperties.class,SpringYarnHostInfoDiscoveryProperties.class}) public static class YarnContainerAutoConfiguration.ContainerRegistrarConfig extends java.lang.Object
Constructor and Description |
---|
YarnContainerAutoConfiguration.ContainerRegistrarConfig() |
Modifier and Type | Method and Description |
---|---|
ContainerRegistrar |
containerRegistrar(HostInfoDiscovery hostInfoDiscovery) |
HostInfoDiscovery |
hostInfoDiscovery() |
public YarnContainerAutoConfiguration.ContainerRegistrarConfig()
@Bean @ConditionalOnMissingBean(value=HostInfoDiscovery.class) public HostInfoDiscovery hostInfoDiscovery()
@Bean public ContainerRegistrar containerRegistrar(HostInfoDiscovery hostInfoDiscovery)