public class SpringApplicationAdminMXBeanRegistrar extends Object implements ApplicationContextAware, EnvironmentAware, InitializingBean, DisposableBean
SpringApplicationAdminMXBean implementation to the platform
MBeanServer.| Constructor and Description |
|---|
SpringApplicationAdminMXBeanRegistrar(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
destroy() |
void |
onApplicationReadyEvent(ApplicationReadyEvent event) |
void |
onWebServerInitializedEvent(WebServerInitializedEvent event) |
void |
setApplicationContext(ApplicationContext applicationContext) |
void |
setEnvironment(Environment environment) |
public SpringApplicationAdminMXBeanRegistrar(String name) throws MalformedObjectNameException
MalformedObjectNameExceptionpublic void setApplicationContext(ApplicationContext applicationContext) throws BeansException
setApplicationContext in interface ApplicationContextAwareBeansExceptionpublic void setEnvironment(Environment environment)
setEnvironment in interface EnvironmentAware@EventListener public void onApplicationReadyEvent(ApplicationReadyEvent event)
@EventListener public void onWebServerInitializedEvent(WebServerInitializedEvent event)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanExceptionpublic void destroy()
throws Exception
destroy in interface DisposableBeanExceptionCopyright © 2017 Pivotal Software, Inc.. All rights reserved.