类 SpringApplicationAdminMXBeanRegistrar
java.lang.Object
org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar
- 所有已实现的接口:
EventListener,Aware,DisposableBean,InitializingBean,ApplicationContextAware,ApplicationListener<ApplicationEvent>,EnvironmentAware,GenericApplicationListener,SmartApplicationListener,Ordered
public class SpringApplicationAdminMXBeanRegistrar
extends Object
implements ApplicationContextAware, GenericApplicationListener, EnvironmentAware, InitializingBean, DisposableBean
Register a
SpringApplicationAdminMXBean implementation to the platform
MBeanServer.- 从以下版本开始:
- 1.3.0
- 作者:
- Stephane Nicoll, Andy Wilkinson
-
字段概要
从接口继承的字段 org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidvoiddestroy()intgetOrder()voidvoidsetApplicationContext(ApplicationContext applicationContext) voidsetEnvironment(Environment environment) booleansupportsEventType(ResolvableType eventType) booleansupportsSourceType(Class<?> sourceType) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.springframework.context.ApplicationListener
supportsAsyncExecution从接口继承的方法 org.springframework.context.event.GenericApplicationListener
supportsEventType从接口继承的方法 org.springframework.context.event.SmartApplicationListener
getListenerId
-
构造器详细资料
-
SpringApplicationAdminMXBeanRegistrar
-
-
方法详细资料
-
setApplicationContext
- 指定者:
setApplicationContext在接口中ApplicationContextAware- 抛出:
BeansException
-
setEnvironment
- 指定者:
setEnvironment在接口中EnvironmentAware
-
supportsEventType
- 指定者:
supportsEventType在接口中GenericApplicationListener
-
supportsSourceType
- 指定者:
supportsSourceType在接口中SmartApplicationListener
-
onApplicationEvent
-
getOrder
public int getOrder()- 指定者:
getOrder在接口中Ordered- 指定者:
getOrder在接口中SmartApplicationListener
-
afterPropertiesSet
- 指定者:
afterPropertiesSet在接口中InitializingBean- 抛出:
Exception
-
destroy
- 指定者:
destroy在接口中DisposableBean- 抛出:
Exception
-