The version of ManagedProperty that I have is just a wrapper for
arbitrary Fields (like a JMX descriptor).
It would clearly be trivial to add a Fields.CONTEXT as a standard one.
The plan is that the additional fields will really be annotations on the metadata
classes,
making them trivial to maintain and easy to keep up-to-date.
There are a number of reasons for keeping the metadata/underlyingManagedObjects
seperate for the different attachments (e.g. ejb-jar, jboss.xml), while still providing
a unifying ManagedObject for ease use.
The most important is that you can marshall them back into the xml from the attachments.
Once you've merged them into a single view, this is not in general possible.
Another is that an admin console can "follow the links" to navigate through
complex models, e.g. following an ejb-link to the target ejb.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995780#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...