Class ShutdownEndpoint
java.lang.Object
org.springframework.boot.actuate.context.ShutdownEndpoint
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Endpoint(id="shutdown",
enableByDefault=false)
public class ShutdownEndpoint
extends Object
implements org.springframework.context.ApplicationContextAware
@Endpoint
to shutdown the ApplicationContext
.- Since:
- 2.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Description of the shutdown. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setApplicationContext
(org.springframework.context.ApplicationContext context) shutdown()
-
Constructor Details
-
ShutdownEndpoint
public ShutdownEndpoint()
-
-
Method Details
-
shutdown
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext context) throws org.springframework.beans.BeansException - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-