org.springframework.boot.admin

Class SpringApplicationAdminMXBeanRegistrar

  • java.lang.Object
    • org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar
  • All Implemented Interfaces:
    EventListener, org.springframework.beans.factory.Aware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener<ApplicationReadyEvent>, org.springframework.context.EnvironmentAware


    public class SpringApplicationAdminMXBeanRegistrar
    extends Object
    implements org.springframework.context.ApplicationContextAware, org.springframework.context.EnvironmentAware, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, org.springframework.context.ApplicationListener<ApplicationReadyEvent>
    Register a SpringApplicationAdminMXBean implementation to the platform MBeanServer.
    Since:
    1.3.0
    Author:
    Stephane Nicoll
    • Method Detail

      • setApplicationContext

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

        public void setEnvironment(org.springframework.core.env.Environment environment)
        Specified by:
        setEnvironment in interface org.springframework.context.EnvironmentAware
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        Exception
      • destroy

        public void destroy()
                     throws Exception
        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean
        Throws:
        Exception

Copyright © 2016 Pivotal Software, Inc.. All rights reserved.