@Endpoint(id="shutdown", defaultEnablement=DISABLED) 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,Object> |
shutdown() |
@WriteOperation public Map<String,Object> 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 © 2017 Pivotal Software, Inc.. All rights reserved.