@Endpoint(id="shutdown", enableByDefault=false) public class ShutdownEndpoint extends Object implements org.springframework.context.ApplicationContextAware
Endpoint
to shutdown the ApplicationContext
.Constructor and Description |
---|
ShutdownEndpoint() |
Modifier and Type | Method and Description |
---|---|
void |
setApplicationContext(org.springframework.context.ApplicationContext context) |
Map<String,String> |
shutdown() |
@WriteOperation public Map<String,String> shutdown()
public void setApplicationContext(org.springframework.context.ApplicationContext context) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.