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,
HostInfoDiscovery hostInfoDiscovery)
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, HostInfoDiscovery hostInfoDiscovery)
trackUrl
- the track urlcontainerId
- the container idhostInfoDiscovery
- host info discoverypublic void onApplicationEvent(org.springframework.boot.context.embedded.EmbeddedServletContainerInitializedEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener<org.springframework.boot.context.embedded.EmbeddedServletContainerInitializedEvent>