Package org.springframework.boot.admin
Class SpringApplicationAdminMXBeanRegistrar
java.lang.Object
org.springframework.boot.admin.SpringApplicationAdminMXBeanRegistrar
- All Implemented Interfaces:
- 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.- Since:
- 1.3.0
- Author:
- Stephane Nicoll, Andy Wilkinson
- 
Field SummaryFields inherited from interface org.springframework.core.OrderedHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoiddestroy()intgetOrder()voidvoidsetApplicationContext(ApplicationContext applicationContext) voidsetEnvironment(Environment environment) booleansupportsEventType(ResolvableType eventType) booleansupportsSourceType(Class<?> sourceType) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListenersupportsAsyncExecutionMethods inherited from interface org.springframework.context.event.GenericApplicationListenersupportsEventTypeMethods inherited from interface org.springframework.context.event.SmartApplicationListenergetListenerId
- 
Constructor Details- 
SpringApplicationAdminMXBeanRegistrar- Throws:
- MalformedObjectNameException
 
 
- 
- 
Method Details- 
setApplicationContext- Specified by:
- setApplicationContextin interface- ApplicationContextAware
- Throws:
- BeansException
 
- 
setEnvironment- Specified by:
- setEnvironmentin interface- EnvironmentAware
 
- 
supportsEventType- Specified by:
- supportsEventTypein interface- GenericApplicationListener
 
- 
supportsSourceType- Specified by:
- supportsSourceTypein interface- SmartApplicationListener
 
- 
onApplicationEvent- Specified by:
- onApplicationEventin interface- ApplicationListener<ApplicationEvent>
 
- 
getOrderpublic int getOrder()- Specified by:
- getOrderin interface- Ordered
- Specified by:
- getOrderin interface- SmartApplicationListener
 
- 
afterPropertiesSet- Specified by:
- afterPropertiesSetin interface- InitializingBean
- Throws:
- Exception
 
- 
destroy- Specified by:
- destroyin interface- DisposableBean
- Throws:
- Exception
 
 
-