public class SpringApplicationAdminMXBeanRegistrar extends Object implements ApplicationContextAware, InitializingBean, DisposableBean, ApplicationListener<ApplicationReadyEvent>
SpringApplicationAdminMXBean
implementation to the platform
MBeanServer
.Constructor and Description |
---|
SpringApplicationAdminMXBeanRegistrar(String name) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
void |
onApplicationEvent(ApplicationReadyEvent event) |
void |
setApplicationContext(ApplicationContext applicationContext) |
public SpringApplicationAdminMXBeanRegistrar(String name) throws MalformedObjectNameException
MalformedObjectNameException
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
setApplicationContext
in interface ApplicationContextAware
BeansException
public void onApplicationEvent(ApplicationReadyEvent event)
onApplicationEvent
in interface ApplicationListener<ApplicationReadyEvent>
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
public void destroy() throws Exception
destroy
in interface DisposableBean
Exception
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.