public class SpringApplicationAdminMXBeanRegistrar extends Object implements ApplicationContextAware, GenericApplicationListener, EnvironmentAware, InitializingBean, DisposableBean
SpringApplicationAdminMXBean implementation to the platform
MBeanServer.HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
SpringApplicationAdminMXBeanRegistrar(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
destroy() |
int |
getOrder() |
void |
onApplicationEvent(ApplicationEvent event) |
void |
setApplicationContext(ApplicationContext applicationContext) |
void |
setEnvironment(Environment environment) |
boolean |
supportsEventType(ResolvableType eventType) |
boolean |
supportsSourceType(Class<?> sourceType) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsupportsEventTypegetListenerIdforPayloadpublic SpringApplicationAdminMXBeanRegistrar(String name) throws MalformedObjectNameException
MalformedObjectNameExceptionpublic void setApplicationContext(ApplicationContext applicationContext) throws BeansException
setApplicationContext in interface ApplicationContextAwareBeansExceptionpublic void setEnvironment(Environment environment)
setEnvironment in interface EnvironmentAwarepublic boolean supportsEventType(ResolvableType eventType)
supportsEventType in interface GenericApplicationListenerpublic boolean supportsSourceType(Class<?> sourceType)
supportsSourceType in interface SmartApplicationListenerpublic void onApplicationEvent(ApplicationEvent event)
onApplicationEvent in interface ApplicationListener<ApplicationEvent>public int getOrder()
getOrder in interface SmartApplicationListenergetOrder in interface Orderedpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanExceptionpublic void destroy()
throws Exception
destroy in interface DisposableBeanException