public class ShutdownEndpointMBean extends EndpointMBean
ShutdownEndpoint.| Constructor and Description |
|---|
ShutdownEndpointMBean(String beanName,
Endpoint<?> endpoint,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Create a new
ShutdownEndpointMBean instance. |
| Modifier and Type | Method and Description |
|---|---|
Object |
shutdown() |
convert, getEndpoint, getEndpointClass, getEndpointType, getIdentity, isEnabled, isSensitivepublic ShutdownEndpointMBean(String beanName, Endpoint<?> endpoint, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
ShutdownEndpointMBean instance.beanName - the bean nameendpoint - the endpoint to wrapobjectMapper - the ObjectMapper used to convert the payload@ManagedOperation(description="Shutdown the ApplicationContext") public Object shutdown()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.