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