类 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
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
void
destroy()
int
getOrder()
void
void
setApplicationContext
(ApplicationContext applicationContext) void
setEnvironment
(Environment environment) boolean
supportsEventType
(ResolvableType eventType) boolean
supportsSourceType
(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
-