public class ContainerRegistrar extends LifecycleObjectSupport implements org.springframework.context.ApplicationListener<org.springframework.boot.context.embedded.EmbeddedServletContainerInitializedEvent>
Constructor and Description |
---|
ContainerRegistrar(java.lang.String trackUrl,
java.lang.String containerId)
Instantiates a new container registrar.
|
Modifier and Type | Method and Description |
---|---|
void |
onApplicationEvent(org.springframework.boot.context.embedded.EmbeddedServletContainerInitializedEvent event) |
afterPropertiesSet, doStart, doStop, getBeanFactory, getPhase, getTaskExecutor, getTaskScheduler, getYarnEventPublisher, isAutoStartup, isRunning, onInit, setAutoStartup, setBeanFactory, setPhase, setTaskExecutor, setTaskScheduler, setYarnEventPublisher, start, stop, stop
public ContainerRegistrar(java.lang.String trackUrl, java.lang.String containerId)
trackUrl
- the track urlcontainerId
- the container idpublic void onApplicationEvent(org.springframework.boot.context.embedded.EmbeddedServletContainerInitializedEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener<org.springframework.boot.context.embedded.EmbeddedServletContainerInitializedEvent>