类 ShutdownEndpoint
- java.lang.Object
- org.springframework.boot.actuate.context.ShutdownEndpoint
- 所有已实现的接口:
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 theApplicationContext
.- 从以下版本开始:
- 2.0.0
构造器详细资料
ShutdownEndpoint
public ShutdownEndpoint()
方法详细资料
shutdown
@WriteOperation public Map<String,String> shutdown()
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext context) throws org.springframework.beans.BeansException
- 指定者:
setApplicationContext
在接口中org.springframework.context.ApplicationContextAware
- 抛出:
org.springframework.beans.BeansException