@ManagedResource public class ShutdownEndpointMBean extends EndpointMBean
ShutdownEndpoint
.Constructor and Description |
---|
ShutdownEndpointMBean(String beanName,
Endpoint<?> endpoint)
Deprecated.
since 1.3 in favor of
ShutdownEndpointMBean(String, Endpoint, ObjectMapper) |
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, isSensitive
@Deprecated public ShutdownEndpointMBean(String beanName, Endpoint<?> endpoint)
ShutdownEndpointMBean(String, Endpoint, ObjectMapper)
ShutdownEndpointMBean
instance.beanName
- the bean nameendpoint
- the endpoint to wrappublic 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 © 2016 Pivotal Software, Inc.. All rights reserved.