@ConfigurationProperties(prefix="endpoints.shutdown", ignoreUnknownFields=false) public class ShutdownEndpoint extends AbstractEndpoint<Map<String,Object>> implements ApplicationContextAware
Endpoint
to shutdown the ApplicationContext
.Constructor and Description |
---|
ShutdownEndpoint()
Create a new
ShutdownEndpoint instance. |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
invoke()
Called to invoke the endpoint.
|
void |
setApplicationContext(ApplicationContext context) |
getEnvironment, getId, isEnabled, isSensitive, setEnabled, setEnvironment, setId, setSensitive
public ShutdownEndpoint()
ShutdownEndpoint
instance.public Map<String,Object> invoke()
Endpoint
public void setApplicationContext(ApplicationContext context) throws BeansException
setApplicationContext
in interface ApplicationContextAware
BeansException
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.