Class ShutdownEndpoint
java.lang.Object
org.springframework.boot.actuate.context.ShutdownEndpoint
- All Implemented Interfaces:
Aware,ApplicationContextAware
@Endpoint(id="shutdown",
enableByDefault=false)
public class ShutdownEndpoint
extends Object
implements ApplicationContextAware
@Endpoint to shutdown the ApplicationContext.- Since:
- 2.0.0
- Author:
- Dave Syer, Christian Dupuis, Andy Wilkinson
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDescription of the shutdown. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetApplicationContext(ApplicationContext context) shutdown()
-
Constructor Details
-
ShutdownEndpoint
public ShutdownEndpoint()
-
-
Method Details
-
shutdown
-
setApplicationContext
- Specified by:
setApplicationContextin interfaceApplicationContextAware- Throws:
BeansException
-