I am trying for some time now to be able to edit complex types I manage with JMX, meaning I have a class A which holds int string and an instance of B (another class)
class B holds int and int ... all I want to do is to be able to edit class B. I managed to dig deep inside openMBeans and I know how to manually create them and expose them to the jconsole as tabluardatasupport (if collection) or Compositetype (if only one instance) but my issue now is that I can't edit them. I am using Jconsole and as far as I understand if the OpenMBeanAttributeInfoSupport of the attribute (when constructing the MBeanInfo) is on writable=true the JConsole should let me edit this attribute but it doesn't (for the other int and string it does)
maybe I am missing something, ANY HELP WOULD BE GREATLY APPRECIATED!!!

Hey jtahlborn,
Thanks for the quick replay, I am attaching the whole class, would love to hear where did I go wrong.
I decided to start with only 1 instance of a composite type instead of an Tabular type or collections. All I want to do is to be able to modify the composite type members through any JMX console (currently I am using Jconsole)

that looks pretty much correct couple of comments. did a quick search and saw some comments that the limitation may just be jconsole (e.g. http://www.thatsjava.com/java-core-apis/56675/ ). did you try using jvisualvm? it's much nicer than jconsole. (you'll need to install a plugin in order to see mbeans).

also, did you try using MXBeans? they are 100 times easier to use than openmbeans.