类 SpringApplicationAdminMXBeanRegistrar

  • 所有已实现的接口:
    EventListener, org.springframework.beans.factory.Aware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>, org.springframework.context.EnvironmentAware, org.springframework.context.event.GenericApplicationListener, org.springframework.core.Ordered

    public class SpringApplicationAdminMXBeanRegistrar
    extends Object
    implements org.springframework.context.ApplicationContextAware, org.springframework.context.event.GenericApplicationListener, org.springframework.context.EnvironmentAware, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
    Register a SpringApplicationAdminMXBean implementation to the platform MBeanServer.
    从以下版本开始:
    1.3.0
    • 方法详细资料

      • setApplicationContext

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

        public void setEnvironment​(org.springframework.core.env.Environment environment)
        指定者:
        setEnvironment 在接口中 org.springframework.context.EnvironmentAware
      • supportsEventType

        public boolean supportsEventType​(org.springframework.core.ResolvableType eventType)
        指定者:
        supportsEventType 在接口中 org.springframework.context.event.GenericApplicationListener
      • supportsSourceType

        public boolean supportsSourceType​(@Nullable
                                          Class<?> sourceType)
        指定者:
        supportsSourceType 在接口中 org.springframework.context.event.GenericApplicationListener
      • onApplicationEvent

        public void onApplicationEvent​(org.springframework.context.ApplicationEvent event)
        指定者:
        onApplicationEvent 在接口中 org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
      • getOrder

        public int getOrder()
        指定者:
        getOrder 在接口中 org.springframework.context.event.GenericApplicationListener
        指定者:
        getOrder 在接口中 org.springframework.core.Ordered
      • destroy

        public void destroy()
                     throws Exception
        指定者:
        destroy 在接口中 org.springframework.beans.factory.DisposableBean
        抛出:
        Exception