@ConfigurationProperties(name="endpoints.shutdown", ignoreUnknownFields=false) public class ShutdownEndpoint extends AbstractEndpoint<Map<String,Object>> implements org.springframework.context.ApplicationContextAware, ActionEndpoint<Map<String,Object>>
ActionEndpoint 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(org.springframework.context.ApplicationContext context) |
getPath, getProduces, isSensitive, setPath, setSensitiveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPath, getProduces, isSensitivepublic ShutdownEndpoint()
ShutdownEndpoint instance.public Map<String,Object> invoke()
Endpointpublic void setApplicationContext(org.springframework.context.ApplicationContext context)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2013. All rights reserved.