public class BeanPublisher extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.DisposableBean
JmxServer. This looks for beans that are of type JmxBean, that are of type
PublishAllBeanWrapper, that implement JmxSelfNaming, or that are annotated with JmxResource,
NOTE: This will only compile if com.springframework jar(s) are available to the application. Otherwise it will throw ClassNotFound exceptions if used.
| Constructor and Description |
|---|
BeanPublisher() |
BeanPublisher(org.springframework.context.ApplicationContext applicationContext,
JmxServer jmxServer) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
destroy() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setJmxServer(JmxServer jmxServer) |
public BeanPublisher()
public BeanPublisher(org.springframework.context.ApplicationContext applicationContext,
JmxServer jmxServer)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic void destroy()
destroy in interface org.springframework.beans.factory.DisposableBeanpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic void setJmxServer(JmxServer jmxServer)
This documentation content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.