@Deprecated public class KubernetesAutoServiceRegistration extends Object implements org.springframework.cloud.client.serviceregistry.AutoServiceRegistration, org.springframework.context.SmartLifecycle, org.springframework.core.Ordered
| Constructor and Description |
|---|
KubernetesAutoServiceRegistration(org.springframework.context.ApplicationContext context,
KubernetesServiceRegistry serviceRegistry,
KubernetesRegistration registration)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder()
Deprecated.
|
int |
getPhase()
Deprecated.
|
boolean |
isAutoStartup()
Deprecated.
|
boolean |
isRunning()
Deprecated.
|
void |
onApplicationEvent(org.springframework.context.event.ContextClosedEvent event)
Deprecated.
|
void |
onApplicationEvent(org.springframework.boot.web.servlet.context.ServletWebServerInitializedEvent event)
Deprecated.
|
void |
start()
Deprecated.
|
void |
stop()
Deprecated.
|
void |
stop(Runnable callback)
Deprecated.
|
public KubernetesAutoServiceRegistration(org.springframework.context.ApplicationContext context,
KubernetesServiceRegistry serviceRegistry,
KubernetesRegistration registration)
public boolean isAutoStartup()
isAutoStartup in interface org.springframework.context.SmartLifecyclepublic void stop(Runnable callback)
stop in interface org.springframework.context.SmartLifecyclepublic void start()
start in interface org.springframework.context.Lifecyclepublic void stop()
stop in interface org.springframework.context.Lifecyclepublic boolean isRunning()
isRunning in interface org.springframework.context.Lifecyclepublic int getPhase()
getPhase in interface org.springframework.context.PhasedgetPhase in interface org.springframework.context.SmartLifecyclepublic int getOrder()
getOrder in interface org.springframework.core.Ordered@EventListener(value=org.springframework.boot.web.servlet.context.ServletWebServerInitializedEvent.class) public void onApplicationEvent(org.springframework.boot.web.servlet.context.ServletWebServerInitializedEvent event)
@EventListener(value=org.springframework.context.event.ContextClosedEvent.class) public void onApplicationEvent(org.springframework.context.event.ContextClosedEvent event)
Copyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.