@Endpoint(id="redshutdown") public class RedShutdownEndpoint extends Object implements org.springframework.context.ApplicationContextAware
@Endpoint to shutdown the ApplicationContext.| Constructor and Description |
|---|
RedShutdownEndpoint(org.springframework.cloud.client.serviceregistry.ServiceRegistry<?> serviceRegistry,
org.springframework.cloud.client.serviceregistry.Registration registration) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
safeShutdown() |
void |
setApplicationContext(org.springframework.context.ApplicationContext context) |
public static final String ENDPOINT
public RedShutdownEndpoint(org.springframework.cloud.client.serviceregistry.ServiceRegistry<?> serviceRegistry,
org.springframework.cloud.client.serviceregistry.Registration registration)
public void setApplicationContext(org.springframework.context.ApplicationContext context)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2024. All rights reserved.