Class ShutdownEndpoint

  • All Implemented Interfaces:
    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 the ApplicationContext.
    • Method Detail

      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext context)
                                   throws org.springframework.beans.BeansException
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
        Throws:
        org.springframework.beans.BeansException