com.j256.simplejmx.spring
Class BeanPublisher
java.lang.Object
com.j256.simplejmx.spring.BeanPublisher
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
public class BeanPublisher
- extends Object
- implements org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
Runs through and discovers any beans that need to be registered with the JmxServer. This will only compile if
com.springframework jar(s) are available to the application. Otherwise it will throw ClassNotFound exceptions if
used.
- Author:
- graywatson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanPublisher
public BeanPublisher()
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
setJmxServer
public void setJmxServer(JmxServer jmxServer)
This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.