类 ShutdownEndpoint
- java.lang.Object
- org.springframework.boot.actuate.endpoint.AbstractEndpoint<Map<String,Object>>
- org.springframework.boot.actuate.endpoint.ShutdownEndpoint
- 所有已实现的接口:
org.springframework.beans.factory.Aware
,Endpoint<Map<String,Object>>
,org.springframework.context.ApplicationContextAware
,org.springframework.context.EnvironmentAware
@ConfigurationProperties(prefix="endpoints.shutdown") public class ShutdownEndpoint extends AbstractEndpoint<Map<String,Object>> implements org.springframework.context.ApplicationContextAware
Endpoint
to shutdown theApplicationContext
.
构造器概要
构造器 构造器 说明 ShutdownEndpoint()
Create a newShutdownEndpoint
instance.
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Map<String,Object>
invoke()
Called to invoke the endpoint.void
setApplicationContext(org.springframework.context.ApplicationContext context)
从类继承的方法 org.springframework.boot.actuate.endpoint.AbstractEndpoint
getEnvironment, getId, isEnabled, isSensitive, setEnabled, setEnvironment, setId, setSensitive
构造器详细资料
ShutdownEndpoint
public ShutdownEndpoint()
Create a newShutdownEndpoint
instance.
方法详细资料
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext context) throws org.springframework.beans.BeansException
- 指定者:
setApplicationContext
在接口中org.springframework.context.ApplicationContextAware
- 抛出:
org.springframework.beans.BeansException