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, isSensitive
public 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 © 2018 Pivotal Software, Inc.. All rights reserved.