Commons-Modeler provides mechanisms to create Model MBeans compatible with the Java Management Extensions (JMX) specification.
Wrapping up a simple POJO using BaseModelMBean. This shows how to simply wrap up a simple Java bean using the Modeler's BaseModelMBean and expose it to JMX. Also has some sample on how to use the Registry class.It's a straight copy from my original blog post (see below).
I have put together a sample of how to simply wrap up a simple POJO using BaseModelMBean on my blog here: http://liviutudor.com/2011/12/22/apache-commons-modeler-simplesample-usage/. I will try and add a separate wiki page and copy the contents on this wiki, in the meanwhile, I thought of sharing the link here.
Do you have a good example, add it here!
Add your questions/answers here.
Q: How do I get rid of the attribute modelerType, that is added by the modeler?