One problem with inclusion of something like a MetaMapper class in the ManagementProperty
annotation is that its leaking server side types to the client since MetaMapper will
reference the server side java class. If this is used by an attachment to map a non-simple
deployment type to a CompostiteValue for example, this can't be marshaled to the
client environment as thta type will not be available.
I guess we need a transient Attachments notion where server specific information could be
placed, and have a convention of looking for the MetaMapper.class attachment in the
AbstractManagedObjectFactory.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191498#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...