Class ShutdownEndpointMBean
- java.lang.Object
- org.springframework.boot.actuate.endpoint.jmx.EndpointMBean
- org.springframework.boot.actuate.endpoint.jmx.ShutdownEndpointMBean
- All Implemented Interfaces:
JmxEndpoint
public class ShutdownEndpointMBean extends EndpointMBean
Special endpoint wrapper forShutdownEndpoint
.
Constructor Summary
Constructors Constructor Description ShutdownEndpointMBean(String beanName, Endpoint<?> endpoint, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Create a newShutdownEndpointMBean
instance.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
shutdown()
Methods inherited from class org.springframework.boot.actuate.endpoint.jmx.EndpointMBean
convert, getEndpoint, getEndpointClass, getEndpointType, getIdentity, isEnabled, isSensitive
Constructor Detail
ShutdownEndpointMBean
public ShutdownEndpointMBean(String beanName, Endpoint<?> endpoint, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Create a newShutdownEndpointMBean
instance.- Parameters:
beanName
- the bean nameendpoint
- the endpoint to wrapobjectMapper
- theObjectMapper
used to convert the payload