public class EndpointContainerShutdown extends Object implements org.springframework.yarn.am.container.ContainerShutdown, BeanFactoryAware
ContainerShutdown implementation which uses boot shutdown
rest endpoint to notify context close.| Constructor and Description |
|---|
EndpointContainerShutdown() |
| Modifier and Type | Method and Description |
|---|---|
void |
setBeanFactory(BeanFactory beanFactory) |
boolean |
shutdown(Map<Container,org.springframework.yarn.am.container.ContainerRegisterInfo> containers) |
public boolean shutdown(Map<Container,org.springframework.yarn.am.container.ContainerRegisterInfo> containers)
shutdown in interface org.springframework.yarn.am.container.ContainerShutdownpublic void setBeanFactory(BeanFactory beanFactory) throws BeansException
setBeanFactory in interface BeanFactoryAwareBeansException