-
1. Re: Management of user deployment objects
emuckenhuber Nov 13, 2009 7:23 AM (in response to jesper.pedersen)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.