类 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 the ApplicationContext.
    从以下版本开始:
    2.0.0
    • 方法详细资料

      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext context)
                                   throws org.springframework.beans.BeansException
        指定者:
        setApplicationContext 在接口中 org.springframework.context.ApplicationContextAware
        抛出:
        org.springframework.beans.BeansException