[jboss-dev-forums] [Management Development] - Re: Management of user deployment objects

emuckenhuber do-not-reply at jboss.com
Fri Nov 13 07:23:26 EST 2009


when you are talking about <config-property /> i guess this refers to the List in the MCFDMD right?

This should be exposed as a collection of CompositeValue (which is basically a restricted Map) - this should be generated by default. The only thing which should be added is a @CompositeKey annotation on the getName() to declare this as index.

Maybe it should even be a TableValue, since this could simplify looking up values in a unit tests. I can look into providing a MetaMapper for this at one point. Although the default format should work for the console as well.

Looking at the way it's done atm does not make much sense and basically hacks itself. There were some discussions before to expose this in a different way, since the console could handle a compositeType better.

In case you want to try that out you would need to annotate the MCFDMD with @ManagedObject and use the ManagedObjectFactory to initialize the ManagedObject. We are also going to provide a xml meta data format to describe ManagedObjects/Components - so that you don't necessarily need to depend on jboss-man.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265484#4265484

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265484



More information about the jboss-dev-forums mailing list