类 ShutdownEndpointMBean

    • 构造器详细资料

      • ShutdownEndpointMBean

        public ShutdownEndpointMBean​(String beanName,
                                     Endpoint<?> endpoint,
                                     com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Create a new ShutdownEndpointMBean instance.
        参数:
        beanName - the bean name
        endpoint - the endpoint to wrap
        objectMapper - the ObjectMapper used to convert the payload
    • 方法详细资料

      • shutdown

        @ManagedOperation(description="Shutdown the ApplicationContext")
        public Object shutdown()